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

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

Issue 2891453002: Introduce networkingPrivate.getCertificateLists (Closed)
Patch Set: Clang format Created 3 years, 7 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_SERVICE_CLI ENT_H_ 5 #ifndef EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_SERVICE_CLI ENT_H_
6 #define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_SERVICE_CLI ENT_H_ 6 #define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_SERVICE_CLI ENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 const FailureCallback& failure_callback) override; 101 const FailureCallback& failure_callback) override;
102 void SetCellularSimState(const std::string& guid, 102 void SetCellularSimState(const std::string& guid,
103 bool require_pin, 103 bool require_pin,
104 const std::string& current_pin, 104 const std::string& current_pin,
105 const std::string& new_pin, 105 const std::string& new_pin,
106 const VoidCallback& success_callback, 106 const VoidCallback& success_callback,
107 const FailureCallback& failure_callback) override; 107 const FailureCallback& failure_callback) override;
108 std::unique_ptr<base::ListValue> GetEnabledNetworkTypes() override; 108 std::unique_ptr<base::ListValue> GetEnabledNetworkTypes() override;
109 std::unique_ptr<DeviceStateList> GetDeviceStateList() override; 109 std::unique_ptr<DeviceStateList> GetDeviceStateList() override;
110 std::unique_ptr<base::DictionaryValue> GetGlobalPolicy() override; 110 std::unique_ptr<base::DictionaryValue> GetGlobalPolicy() override;
111 std::unique_ptr<base::DictionaryValue> GetCertificateLists() override;
111 bool EnableNetworkType(const std::string& type) override; 112 bool EnableNetworkType(const std::string& type) override;
112 bool DisableNetworkType(const std::string& type) override; 113 bool DisableNetworkType(const std::string& type) override;
113 bool RequestScan() override; 114 bool RequestScan() override;
114 void AddObserver(NetworkingPrivateDelegateObserver* observer) override; 115 void AddObserver(NetworkingPrivateDelegateObserver* observer) override;
115 void RemoveObserver(NetworkingPrivateDelegateObserver* observer) override; 116 void RemoveObserver(NetworkingPrivateDelegateObserver* observer) override;
116 117
117 // NetworkChangeNotifier::NetworkChangeObserver implementation. 118 // NetworkChangeNotifier::NetworkChangeObserver implementation.
118 void OnNetworkChanged( 119 void OnNetworkChanged(
119 net::NetworkChangeNotifier::ConnectionType type) override; 120 net::NetworkChangeNotifier::ConnectionType type) override;
120 121
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 scoped_refptr<base::SequencedTaskRunner> task_runner_; 182 scoped_refptr<base::SequencedTaskRunner> task_runner_;
182 // Use WeakPtrs for callbacks from |wifi_service_|. 183 // Use WeakPtrs for callbacks from |wifi_service_|.
183 base::WeakPtrFactory<NetworkingPrivateServiceClient> weak_factory_; 184 base::WeakPtrFactory<NetworkingPrivateServiceClient> weak_factory_;
184 185
185 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateServiceClient); 186 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateServiceClient);
186 }; 187 };
187 188
188 } // namespace extensions 189 } // namespace extensions
189 190
190 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_SERVICE_ CLIENT_H_ 191 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_SERVICE_ CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698