| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 : public DeveloperPrivateAPIFunction { | 221 : public DeveloperPrivateAPIFunction { |
| 222 public: | 222 public: |
| 223 DECLARE_EXTENSION_FUNCTION("developerPrivate.getExtensionInfo", | 223 DECLARE_EXTENSION_FUNCTION("developerPrivate.getExtensionInfo", |
| 224 DEVELOPERPRIVATE_GETEXTENSIONINFO); | 224 DEVELOPERPRIVATE_GETEXTENSIONINFO); |
| 225 | 225 |
| 226 private: | 226 private: |
| 227 ~DeveloperPrivateGetExtensionInfoFunction() override; | 227 ~DeveloperPrivateGetExtensionInfoFunction() override; |
| 228 ResponseAction Run() override; | 228 ResponseAction Run() override; |
| 229 }; | 229 }; |
| 230 | 230 |
| 231 class DeveloperPrivateGetProfileConfigurationFunction |
| 232 : public DeveloperPrivateAPIFunction { |
| 233 public: |
| 234 DECLARE_EXTENSION_FUNCTION("developerPrivate.getProfileConfiguration", |
| 235 DEVELOPERPRIVATE_GETPROFILECONFIGURATION); |
| 236 |
| 237 private: |
| 238 ~DeveloperPrivateGetProfileConfigurationFunction() override; |
| 239 ResponseAction Run() override; |
| 240 }; |
| 241 |
| 242 class DeveloperPrivateUpdateProfileConfigurationFunction |
| 243 : public DeveloperPrivateAPIFunction { |
| 244 public: |
| 245 DECLARE_EXTENSION_FUNCTION("developerPrivate.updateProfileConfiguration", |
| 246 DEVELOPERPRIVATE_UPDATEPROFILECONFIGURATION); |
| 247 |
| 248 private: |
| 249 ~DeveloperPrivateUpdateProfileConfigurationFunction() override; |
| 250 ResponseAction Run() override; |
| 251 }; |
| 252 |
| 231 class DeveloperPrivateUpdateExtensionConfigurationFunction | 253 class DeveloperPrivateUpdateExtensionConfigurationFunction |
| 232 : public DeveloperPrivateAPIFunction { | 254 : public DeveloperPrivateAPIFunction { |
| 233 public: | 255 public: |
| 234 DECLARE_EXTENSION_FUNCTION("developerPrivate.updateExtensionConfiguration", | 256 DECLARE_EXTENSION_FUNCTION("developerPrivate.updateExtensionConfiguration", |
| 235 DEVELOPERPRIVATE_UPDATEEXTENSIONCONFIGURATION); | 257 DEVELOPERPRIVATE_UPDATEEXTENSIONCONFIGURATION); |
| 236 | 258 |
| 237 protected: | 259 protected: |
| 238 ~DeveloperPrivateUpdateExtensionConfigurationFunction() override; | 260 ~DeveloperPrivateUpdateExtensionConfigurationFunction() override; |
| 239 ResponseAction Run() override; | 261 ResponseAction Run() override; |
| 240 }; | 262 }; |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 protected: | 474 protected: |
| 453 ~DeveloperPrivateDeleteExtensionErrorsFunction() override; | 475 ~DeveloperPrivateDeleteExtensionErrorsFunction() override; |
| 454 ResponseAction Run() override; | 476 ResponseAction Run() override; |
| 455 }; | 477 }; |
| 456 | 478 |
| 457 } // namespace api | 479 } // namespace api |
| 458 | 480 |
| 459 } // namespace extensions | 481 } // namespace extensions |
| 460 | 482 |
| 461 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ | 483 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ |
| OLD | NEW |