Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: extensions/browser/api/networking_private/networking_private_api.h

Issue 2891453002: Introduce networkingPrivate.getCertificateLists (Closed)
Patch Set: Clang format Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « components/onc/onc_constants.cc ('k') | extensions/browser/api/networking_private/networking_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698