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

Unified Diff: chrome/browser/extensions/extension_file_browser_private_api.h

Issue 7583041: Adding a format device button to UI. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_file_browser_private_api.h
diff --git a/chrome/browser/extensions/extension_file_browser_private_api.h b/chrome/browser/extensions/extension_file_browser_private_api.h
index 83a37675c2c0469d4c4c63ab2fdd9878d43211a2..49527116b7d9a61ffa46fd471102b6cfa82c0470 100644
--- a/chrome/browser/extensions/extension_file_browser_private_api.h
+++ b/chrome/browser/extensions/extension_file_browser_private_api.h
@@ -279,15 +279,19 @@ class GetMountPointsFunction
// Formats Device given its mount path.
class FormatDeviceFunction
- : public SyncExtensionFunction {
- public:
- FormatDeviceFunction();
+ : public FileBrowserFunction {
+ public:
+ FormatDeviceFunction();
protected:
virtual ~FormatDeviceFunction();
virtual bool RunImpl() OVERRIDE;
+// FileBrowserFunction overrides.
+ virtual void GetLocalPathsResponseOnUIThread(
+ const FilePathList& files, void* context) OVERRIDE;
tbarzic 2011/08/10 21:04:56 does const FilePathList& files fit into previous l
sidor.dev 2011/08/10 22:38:17 Done + fixed others in that file.
+
private:
DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.formatDevice");
};

Powered by Google App Engine
This is Rietveld 408576698