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

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

Issue 2751423004: Move NetworkingPrivateDelegate::CryptoVerify to networking_cast_private (Closed)
Patch Set: blocking pool removed Created 3 years, 9 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_LINUX_H_ 5 #ifndef EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_
6 #define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_ 6 #define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 15 matching lines...) Expand all
26 namespace extensions { 26 namespace extensions {
27 27
28 // Linux NetworkingPrivateDelegate implementation. 28 // Linux NetworkingPrivateDelegate implementation.
29 class NetworkingPrivateLinux : public NetworkingPrivateDelegate { 29 class NetworkingPrivateLinux : public NetworkingPrivateDelegate {
30 public: 30 public:
31 using NetworkMap = 31 using NetworkMap =
32 std::map<base::string16, std::unique_ptr<base::DictionaryValue>>; 32 std::map<base::string16, std::unique_ptr<base::DictionaryValue>>;
33 33
34 typedef std::vector<std::string> GuidList; 34 typedef std::vector<std::string> GuidList;
35 35
36 explicit NetworkingPrivateLinux( 36 NetworkingPrivateLinux();
37 std::unique_ptr<VerifyDelegate> verify_delegate);
38 37
39 // NetworkingPrivateDelegate 38 // NetworkingPrivateDelegate
40 void GetProperties(const std::string& guid, 39 void GetProperties(const std::string& guid,
41 const DictionaryCallback& success_callback, 40 const DictionaryCallback& success_callback,
42 const FailureCallback& failure_callback) override; 41 const FailureCallback& failure_callback) override;
43 void GetManagedProperties(const std::string& guid, 42 void GetManagedProperties(const std::string& guid,
44 const DictionaryCallback& success_callback, 43 const DictionaryCallback& success_callback,
45 const FailureCallback& failure_callback) override; 44 const FailureCallback& failure_callback) override;
46 void GetState(const std::string& guid, 45 void GetState(const std::string& guid,
47 const DictionaryCallback& success_callback, 46 const DictionaryCallback& success_callback,
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 // Observers to Network Events. 268 // Observers to Network Events.
270 base::ObserverList<NetworkingPrivateDelegateObserver> 269 base::ObserverList<NetworkingPrivateDelegateObserver>
271 network_events_observers_; 270 network_events_observers_;
272 271
273 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateLinux); 272 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateLinux);
274 }; 273 };
275 274
276 } // namespace extensions 275 } // namespace extensions
277 276
278 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_ 277 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698