Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: chrome/browser/chromeos/extensions/file_browser_private_api.h

Issue 12226034: Files.app: show the warning message when drive authentication is failed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 static FileBrowserPrivateAPI* Get(Profile* profile); 57 static FileBrowserPrivateAPI* Get(Profile* profile);
58 58
59 scoped_refptr<FileBrowserEventRouter> event_router() { 59 scoped_refptr<FileBrowserEventRouter> event_router() {
60 return event_router_; 60 return event_router_;
61 } 61 }
62 62
63 private: 63 private:
64 scoped_refptr<FileBrowserEventRouter> event_router_; 64 scoped_refptr<FileBrowserEventRouter> event_router_;
65 }; 65 };
66 66
67 // Implements the chrome.fileBrowserPrivate.logout method.
68 class LogoutFunction : public AsyncExtensionFunction {
satorux1 2013/02/08 07:28:15 LogoutUserFunction
yoshiki 2013/02/12 01:13:32 Done.
69 public:
70 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.logout",
71 FILEBROWSERPRIVATE_LOGOUT)
72
73 protected:
74 virtual ~LogoutFunction() {}
75
76 // AsyncExtensionFunction overrides.
77 virtual bool RunImpl() OVERRIDE;
78 };
79
67 // Implements the chrome.fileBrowserPrivate.requestLocalFileSystem method. 80 // Implements the chrome.fileBrowserPrivate.requestLocalFileSystem method.
68 class RequestLocalFileSystemFunction : public AsyncExtensionFunction { 81 class RequestLocalFileSystemFunction : public AsyncExtensionFunction {
69 public: 82 public:
70 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.requestLocalFileSystem", 83 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.requestLocalFileSystem",
71 FILEBROWSERPRIVATE_REQUESTLOCALFILESYSTEM) 84 FILEBROWSERPRIVATE_REQUESTLOCALFILESYSTEM)
72 85
73 protected: 86 protected:
74 virtual ~RequestLocalFileSystemFunction() {} 87 virtual ~RequestLocalFileSystemFunction() {}
75 88
76 // AsyncExtensionFunction overrides. 89 // AsyncExtensionFunction overrides.
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 protected: 905 protected:
893 virtual ~ValidatePathNameLengthFunction(); 906 virtual ~ValidatePathNameLengthFunction();
894 907
895 void OnFilePathLimitRetrieved(size_t current_length, size_t max_length); 908 void OnFilePathLimitRetrieved(size_t current_length, size_t max_length);
896 909
897 // AsyncExtensionFunction overrides. 910 // AsyncExtensionFunction overrides.
898 virtual bool RunImpl() OVERRIDE; 911 virtual bool RunImpl() OVERRIDE;
899 }; 912 };
900 913
901 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ 914 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698