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

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

Issue 7706028: This is UI side unreadable device support. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: style + enum + action on hitting enter key 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 virtual bool RunImpl() OVERRIDE; 289 virtual bool RunImpl() OVERRIDE;
290 290
291 // FileBrowserFunction overrides. 291 // FileBrowserFunction overrides.
292 virtual void GetLocalPathsResponseOnUIThread(const FilePathList& files, 292 virtual void GetLocalPathsResponseOnUIThread(const FilePathList& files,
293 void* context) OVERRIDE; 293 void* context) OVERRIDE;
294 294
295 private: 295 private:
296 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.formatDevice"); 296 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.formatDevice");
297 }; 297 };
298 298
299 // Formats Device given its file path.
tbarzic 2011/08/25 02:03:44 If you don't use this (and don't plan to), I think
sidor 2011/08/25 18:02:13 Done.
300 class FormatUnmountedDeviceFunction
301 : public SyncExtensionFunction {
302 public:
303 FormatUnmountedDeviceFunction();
304
305 protected:
306 virtual ~FormatUnmountedDeviceFunction();
307
308 virtual bool RunImpl() OVERRIDE;
309
310 private:
311 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.formatUnmountedDevice");
312 };
313
299 // Retrieves devices meta-data. Expects volume's device path as an argument. 314 // Retrieves devices meta-data. Expects volume's device path as an argument.
300 class GetVolumeMetadataFunction 315 class GetVolumeMetadataFunction
301 : public SyncExtensionFunction { 316 : public SyncExtensionFunction {
302 public: 317 public:
303 GetVolumeMetadataFunction(); 318 GetVolumeMetadataFunction();
304 319
305 protected: 320 protected:
306 virtual ~GetVolumeMetadataFunction(); 321 virtual ~GetVolumeMetadataFunction();
307 322
308 virtual bool RunImpl() OVERRIDE; 323 virtual bool RunImpl() OVERRIDE;
(...skipping 15 matching lines...) Expand all
324 virtual ~FileDialogStringsFunction() {} 339 virtual ~FileDialogStringsFunction() {}
325 340
326 // SyncExtensionFunction overrides. 341 // SyncExtensionFunction overrides.
327 virtual bool RunImpl() OVERRIDE; 342 virtual bool RunImpl() OVERRIDE;
328 343
329 private: 344 private:
330 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getStrings"); 345 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getStrings");
331 }; 346 };
332 347
333 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_ 348 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698