| 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_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/extensions/api/developer_private/entry_picker.h" | 8 #include "chrome/browser/extensions/api/developer_private/entry_picker.h" |
| 9 #include "chrome/browser/extensions/api/file_system/file_system_api.h" | 9 #include "chrome/browser/extensions/api/file_system/file_system_api.h" |
| 10 #include "chrome/browser/extensions/extension_function.h" | 10 #include "chrome/browser/extensions/extension_function.h" |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 DECLARE_EXTENSION_FUNCTION("developerPrivate.allowFileAccess", | 156 DECLARE_EXTENSION_FUNCTION("developerPrivate.allowFileAccess", |
| 157 DEVELOPERPRIVATE_ALLOWFILEACCESS); | 157 DEVELOPERPRIVATE_ALLOWFILEACCESS); |
| 158 | 158 |
| 159 protected: | 159 protected: |
| 160 virtual ~DeveloperPrivateAllowFileAccessFunction(); | 160 virtual ~DeveloperPrivateAllowFileAccessFunction(); |
| 161 | 161 |
| 162 // ExtensionFunction: | 162 // ExtensionFunction: |
| 163 virtual bool RunImpl() OVERRIDE; | 163 virtual bool RunImpl() OVERRIDE; |
| 164 }; | 164 }; |
| 165 | 165 |
| 166 class DeveloperPrivateAllowIncognitoFunction : public SyncExtensionFunction { |
| 167 public: |
| 168 DECLARE_EXTENSION_FUNCTION("developerPrivate.allowIncognito", |
| 169 DEVELOPERPRIVATE_ALLOWINCOGNITO); |
| 170 |
| 171 protected: |
| 172 virtual ~DeveloperPrivateAllowIncognitoFunction(); |
| 173 |
| 174 // ExtensionFunction: |
| 175 virtual bool RunImpl() OVERRIDE; |
| 176 }; |
| 177 |
| 166 class DeveloperPrivateReloadFunction : public SyncExtensionFunction { | 178 class DeveloperPrivateReloadFunction : public SyncExtensionFunction { |
| 167 public: | 179 public: |
| 168 DECLARE_EXTENSION_FUNCTION("developerPrivate.reload", | 180 DECLARE_EXTENSION_FUNCTION("developerPrivate.reload", |
| 169 DEVELOPERPRIVATE_RELOAD); | 181 DEVELOPERPRIVATE_RELOAD); |
| 170 | 182 |
| 171 protected: | 183 protected: |
| 172 virtual ~DeveloperPrivateReloadFunction(); | 184 virtual ~DeveloperPrivateReloadFunction(); |
| 173 | 185 |
| 174 // ExtensionFunction: | 186 // ExtensionFunction: |
| 175 virtual bool RunImpl() OVERRIDE; | 187 virtual bool RunImpl() OVERRIDE; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 | 293 |
| 282 // ExtensionFunction | 294 // ExtensionFunction |
| 283 virtual bool RunImpl() OVERRIDE; | 295 virtual bool RunImpl() OVERRIDE; |
| 284 }; | 296 }; |
| 285 | 297 |
| 286 } // namespace api | 298 } // namespace api |
| 287 | 299 |
| 288 } // namespace extensions | 300 } // namespace extensions |
| 289 | 301 |
| 290 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ | 302 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ |
| OLD | NEW |