| 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_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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 97  private: | 97  private: | 
| 98   DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getFileTasks"); | 98   DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getFileTasks"); | 
| 99 }; | 99 }; | 
| 100 | 100 | 
| 101 // Implements the chrome.fileBrowserPrivate.executeTask method. | 101 // Implements the chrome.fileBrowserPrivate.executeTask method. | 
| 102 class ExecuteTasksFileBrowserFunction : public AsyncExtensionFunction { | 102 class ExecuteTasksFileBrowserFunction : public AsyncExtensionFunction { | 
| 103  public: | 103  public: | 
| 104   ExecuteTasksFileBrowserFunction(); | 104   ExecuteTasksFileBrowserFunction(); | 
| 105   virtual ~ExecuteTasksFileBrowserFunction(); | 105   virtual ~ExecuteTasksFileBrowserFunction(); | 
| 106 | 106 | 
|  | 107   void OnTaskExecuted(bool success); | 
|  | 108 | 
| 107  protected: | 109  protected: | 
| 108   // AsyncExtensionFunction overrides. | 110   // AsyncExtensionFunction overrides. | 
| 109   virtual bool RunImpl() OVERRIDE; | 111   virtual bool RunImpl() OVERRIDE; | 
| 110 | 112 | 
| 111  private: | 113  private: | 
| 112   class Executor; | 114   class Executor; | 
| 113 | 115 | 
| 114   DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.executeTask"); | 116   DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.executeTask"); | 
| 115 }; | 117 }; | 
| 116 | 118 | 
| (...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 578 | 580 | 
| 579 // Write setting value. | 581 // Write setting value. | 
| 580 class SetGDataPreferencesFunction : public SyncExtensionFunction { | 582 class SetGDataPreferencesFunction : public SyncExtensionFunction { | 
| 581  protected: | 583  protected: | 
| 582   virtual bool RunImpl() OVERRIDE; | 584   virtual bool RunImpl() OVERRIDE; | 
| 583  private: | 585  private: | 
| 584   DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.setGDataPreferences"); | 586   DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.setGDataPreferences"); | 
| 585 }; | 587 }; | 
| 586 | 588 | 
| 587 #endif  // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ | 589 #endif  // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ | 
| OLD | NEW | 
|---|