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

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

Issue 9545006: This adds some GData private API to the file manager (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Review changes and rework Created 8 years, 9 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
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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 protected: 360 protected:
361 virtual ~FileDialogStringsFunction() {} 361 virtual ~FileDialogStringsFunction() {}
362 362
363 // SyncExtensionFunction overrides. 363 // SyncExtensionFunction overrides.
364 virtual bool RunImpl() OVERRIDE; 364 virtual bool RunImpl() OVERRIDE;
365 365
366 private: 366 private:
367 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getStrings"); 367 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getStrings");
368 }; 368 };
369 369
370 // Retrieve property information for multiple files, returning a list of the
371 // same length as the input list of file URLs. If a particular file has an
372 // error, then return a dictionary with the key "error" set to the error number
373 // (base::PlatformFileError) for that entry in the returned list.
374 class GetGDataFilePropertiesFunction
375 : public FileBrowserFunction {
376 public:
377 GetGDataFilePropertiesFunction();
378
379 protected:
380 virtual ~GetGDataFilePropertiesFunction();
381
382 // AsyncExtensionFunction overrides.
383 virtual bool RunImpl() OVERRIDE;
384
385 private:
386 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getGDataFileProperties");
387 };
370 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ 388 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698