| OLD | NEW |
| 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_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> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/platform_file.h" | 13 #include "base/platform_file.h" |
| 14 #include "chrome/browser/chromeos/gdata/gdata.h" | 14 #include "chrome/browser/chromeos/gdata/gdata.h" |
| 15 #include "chrome/browser/extensions/extension_function.h" | 15 #include "chrome/browser/extensions/extension_function.h" |
| 16 #include "googleurl/src/url_util.h" | 16 #include "googleurl/src/url_util.h" |
| 17 #include "webkit/fileapi/file_system_callback_dispatcher.h" | |
| 18 | 17 |
| 19 class GURL; | 18 class GURL; |
| 20 | 19 |
| 21 // Implements the chrome.fileBrowserPrivate.requestLocalFileSystem method. | 20 // Implements the chrome.fileBrowserPrivate.requestLocalFileSystem method. |
| 22 class RequestLocalFileSystemFunction : public AsyncExtensionFunction { | 21 class RequestLocalFileSystemFunction : public AsyncExtensionFunction { |
| 23 protected: | 22 protected: |
| 24 // AsyncExtensionFunction overrides. | 23 // AsyncExtensionFunction overrides. |
| 25 virtual bool RunImpl() OVERRIDE; | 24 virtual bool RunImpl() OVERRIDE; |
| 26 | 25 |
| 27 private: | 26 private: |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 virtual ~FileDialogStringsFunction() {} | 352 virtual ~FileDialogStringsFunction() {} |
| 354 | 353 |
| 355 // SyncExtensionFunction overrides. | 354 // SyncExtensionFunction overrides. |
| 356 virtual bool RunImpl() OVERRIDE; | 355 virtual bool RunImpl() OVERRIDE; |
| 357 | 356 |
| 358 private: | 357 private: |
| 359 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getStrings"); | 358 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getStrings"); |
| 360 }; | 359 }; |
| 361 | 360 |
| 362 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_ | 361 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_ |
| OLD | NEW |