OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_API_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_API_H_ |
6 #define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_API_H_ | 6 #define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_API_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 protected: | 521 protected: |
522 ~NetworkingPrivateGetGlobalPolicyFunction() override; | 522 ~NetworkingPrivateGetGlobalPolicyFunction() override; |
523 | 523 |
524 // ExtensionFunction: | 524 // ExtensionFunction: |
525 ResponseAction Run() override; | 525 ResponseAction Run() override; |
526 | 526 |
527 private: | 527 private: |
528 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateGetGlobalPolicyFunction); | 528 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateGetGlobalPolicyFunction); |
529 }; | 529 }; |
530 | 530 |
| 531 class NetworkingPrivateGetCertificateListsFunction |
| 532 : public UIThreadExtensionFunction { |
| 533 public: |
| 534 NetworkingPrivateGetCertificateListsFunction() {} |
| 535 DECLARE_EXTENSION_FUNCTION("networkingPrivate.getCertificateLists", |
| 536 NETWORKINGPRIVATE_GETCERTIFICATELISTS); |
| 537 |
| 538 protected: |
| 539 ~NetworkingPrivateGetCertificateListsFunction() override; |
| 540 |
| 541 // ExtensionFunction: |
| 542 ResponseAction Run() override; |
| 543 |
| 544 private: |
| 545 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateGetCertificateListsFunction); |
| 546 }; |
| 547 |
531 } // namespace extensions | 548 } // namespace extensions |
532 | 549 |
533 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_API_H_ | 550 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_API_H_ |
OLD | NEW |