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

Side by Side Diff: chrome/browser/extensions/extension_file_browser_private_api.h

Issue 7599015: Revert 94812 - Formatting feature initial commit for ChromeOS Tree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 270
271 protected: 271 protected:
272 virtual ~GetMountPointsFunction(); 272 virtual ~GetMountPointsFunction();
273 273
274 virtual bool RunImpl() OVERRIDE; 274 virtual bool RunImpl() OVERRIDE;
275 275
276 private: 276 private:
277 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getMountPoints"); 277 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getMountPoints");
278 }; 278 };
279 279
280 // Formats Device given its mount path.
281 class FormatDeviceFunction
282 : public SyncExtensionFunction {
283 public:
284 FormatDeviceFunction();
285
286 protected:
287 virtual ~FormatDeviceFunction();
288
289 virtual bool RunImpl() OVERRIDE;
290
291 private:
292 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.formatDevice");
293 };
294
295 // Retrieves devices meta-data. Expects volume's device path as an argument. 280 // Retrieves devices meta-data. Expects volume's device path as an argument.
296 class GetVolumeMetadataFunction 281 class GetVolumeMetadataFunction
297 : public SyncExtensionFunction { 282 : public SyncExtensionFunction {
298 public: 283 public:
299 GetVolumeMetadataFunction(); 284 GetVolumeMetadataFunction();
300 285
301 protected: 286 protected:
302 virtual ~GetVolumeMetadataFunction(); 287 virtual ~GetVolumeMetadataFunction();
303 288
304 virtual bool RunImpl() OVERRIDE; 289 virtual bool RunImpl() OVERRIDE;
(...skipping 15 matching lines...) Expand all
320 virtual ~FileDialogStringsFunction() {} 305 virtual ~FileDialogStringsFunction() {}
321 306
322 // SyncExtensionFunction overrides. 307 // SyncExtensionFunction overrides.
323 virtual bool RunImpl() OVERRIDE; 308 virtual bool RunImpl() OVERRIDE;
324 309
325 private: 310 private:
326 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getStrings"); 311 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getStrings");
327 }; 312 };
328 313
329 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_ 314 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698