Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(784)

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/private_api_misc.h

Issue 819953005: Files.app: Remove multi-profile related fileManagerPrivate APIs that are no more used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // This file provides miscellaneous API functions, which don't belong to 5 // This file provides miscellaneous API functions, which don't belong to
6 // other files. 6 // other files.
7 7
8 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_ 8 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_
9 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_ 9 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_
10 10
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.getProfiles", 143 DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.getProfiles",
144 FILEMANAGERPRIVATE_GETPROFILES); 144 FILEMANAGERPRIVATE_GETPROFILES);
145 145
146 protected: 146 protected:
147 ~FileManagerPrivateGetProfilesFunction() override {} 147 ~FileManagerPrivateGetProfilesFunction() override {}
148 148
149 // AsyncExtensionFunction overrides. 149 // AsyncExtensionFunction overrides.
150 bool RunSync() override; 150 bool RunSync() override;
151 }; 151 };
152 152
153 class FileManagerPrivateVisitDesktopFunction
154 : public ChromeSyncExtensionFunction {
155 public:
156 DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.visitDesktop",
157 FILEMANAGERPRIVATE_VISITDESKTOP);
158
159 protected:
160 ~FileManagerPrivateVisitDesktopFunction() override {}
161
162 // AsyncExtensionFunction overrides.
163 bool RunSync() override;
164 };
165
166 // Implements the chrome.fileManagerPrivate.openInspector method. 153 // Implements the chrome.fileManagerPrivate.openInspector method.
167 class FileManagerPrivateOpenInspectorFunction 154 class FileManagerPrivateOpenInspectorFunction
168 : public ChromeSyncExtensionFunction { 155 : public ChromeSyncExtensionFunction {
169 public: 156 public:
170 DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.openInspector", 157 DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.openInspector",
171 FILEMANAGERPRIVATE_OPENINSPECTOR); 158 FILEMANAGERPRIVATE_OPENINSPECTOR);
172 159
173 protected: 160 protected:
174 ~FileManagerPrivateOpenInspectorFunction() override {} 161 ~FileManagerPrivateOpenInspectorFunction() override {}
175 162
(...skipping 14 matching lines...) Expand all
190 177
191 // AsyncExtensionFunction overrides. 178 // AsyncExtensionFunction overrides.
192 bool RunAsync() override; 179 bool RunAsync() override;
193 180
194 void OnGetMimeType(const std::string& mimeType); 181 void OnGetMimeType(const std::string& mimeType);
195 }; 182 };
196 183
197 } // namespace extensions 184 } // namespace extensions
198 185
199 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_ 186 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698