| 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 <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/files/file.h" | 10 #include "base/files/file.h" |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 : public DeveloperPrivateAPIFunction { | 219 : public DeveloperPrivateAPIFunction { |
| 220 public: | 220 public: |
| 221 DECLARE_EXTENSION_FUNCTION("developerPrivate.getExtensionInfo", | 221 DECLARE_EXTENSION_FUNCTION("developerPrivate.getExtensionInfo", |
| 222 DEVELOPERPRIVATE_GETEXTENSIONINFO); | 222 DEVELOPERPRIVATE_GETEXTENSIONINFO); |
| 223 | 223 |
| 224 private: | 224 private: |
| 225 ~DeveloperPrivateGetExtensionInfoFunction() override; | 225 ~DeveloperPrivateGetExtensionInfoFunction() override; |
| 226 ResponseAction Run() override; | 226 ResponseAction Run() override; |
| 227 }; | 227 }; |
| 228 | 228 |
| 229 class DeveloperPrivateInspectFunction : public UIThreadExtensionFunction { | |
| 230 public: | |
| 231 DECLARE_EXTENSION_FUNCTION("developerPrivate.inspect", | |
| 232 DEVELOPERPRIVATE_INSPECT) | |
| 233 | |
| 234 protected: | |
| 235 ~DeveloperPrivateInspectFunction() override; | |
| 236 | |
| 237 // ExtensionFunction: | |
| 238 ResponseAction Run() override; | |
| 239 }; | |
| 240 | |
| 241 class DeveloperPrivateUpdateExtensionConfigurationFunction | 229 class DeveloperPrivateUpdateExtensionConfigurationFunction |
| 242 : public DeveloperPrivateAPIFunction { | 230 : public DeveloperPrivateAPIFunction { |
| 243 public: | 231 public: |
| 244 DECLARE_EXTENSION_FUNCTION("developerPrivate.updateExtensionConfiguration", | 232 DECLARE_EXTENSION_FUNCTION("developerPrivate.updateExtensionConfiguration", |
| 245 DEVELOPERPRIVATE_UPDATEEXTENSIONCONFIGURATION); | 233 DEVELOPERPRIVATE_UPDATEEXTENSIONCONFIGURATION); |
| 246 | 234 |
| 247 protected: | 235 protected: |
| 248 ~DeveloperPrivateUpdateExtensionConfigurationFunction() override; | 236 ~DeveloperPrivateUpdateExtensionConfigurationFunction() override; |
| 249 ResponseAction Run() override; | 237 ResponseAction Run() override; |
| 250 }; | 238 }; |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 protected: | 439 protected: |
| 452 ~DeveloperPrivateOpenDevToolsFunction() override; | 440 ~DeveloperPrivateOpenDevToolsFunction() override; |
| 453 ResponseAction Run() override; | 441 ResponseAction Run() override; |
| 454 }; | 442 }; |
| 455 | 443 |
| 456 } // namespace api | 444 } // namespace api |
| 457 | 445 |
| 458 } // namespace extensions | 446 } // namespace extensions |
| 459 | 447 |
| 460 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ | 448 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ |
| OLD | NEW |