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

Side by Side Diff: chromeos/network/network_handler.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
« no previous file with comments | « chromeos/network/network_certificate_handler.cc ('k') | chromeos/network/network_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROMEOS_NETWORK_NETWORK_HANDLER_H_ 5 #ifndef CHROMEOS_NETWORK_NETWORK_HANDLER_H_
6 #define CHROMEOS_NETWORK_NETWORK_HANDLER_H_ 6 #define CHROMEOS_NETWORK_NETWORK_HANDLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "chromeos/chromeos_export.h" 13 #include "chromeos/chromeos_export.h"
14 14
15 class PrefService; 15 class PrefService;
16 16
17 namespace chromeos { 17 namespace chromeos {
18 18
19 class AutoConnectHandler; 19 class AutoConnectHandler;
20 class ClientCertResolver; 20 class ClientCertResolver;
21 class GeolocationHandler; 21 class GeolocationHandler;
22 class ManagedNetworkConfigurationHandler; 22 class ManagedNetworkConfigurationHandler;
23 class ManagedNetworkConfigurationHandlerImpl; 23 class ManagedNetworkConfigurationHandlerImpl;
24 class NetworkActivationHandler; 24 class NetworkActivationHandler;
25 class NetworkCertMigrator; 25 class NetworkCertMigrator;
26 class NetworkCertificateHandler;
26 class NetworkConfigurationHandler; 27 class NetworkConfigurationHandler;
27 class NetworkConnectionHandler; 28 class NetworkConnectionHandler;
28 class NetworkDeviceHandler; 29 class NetworkDeviceHandler;
29 class NetworkDeviceHandlerImpl; 30 class NetworkDeviceHandlerImpl;
30 class NetworkProfileHandler; 31 class NetworkProfileHandler;
31 class NetworkStateHandler; 32 class NetworkStateHandler;
32 class NetworkSmsHandler; 33 class NetworkSmsHandler;
33 class ProhibitedTechnologiesHandler; 34 class ProhibitedTechnologiesHandler;
34 class UIProxyConfigService; 35 class UIProxyConfigService;
35 36
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 68
68 // Do not use these accessors within this module; all dependencies should be 69 // Do not use these accessors within this module; all dependencies should be
69 // explicit so that classes can be constructed explicitly in tests without 70 // explicit so that classes can be constructed explicitly in tests without
70 // NetworkHandler. 71 // NetworkHandler.
71 NetworkStateHandler* network_state_handler(); 72 NetworkStateHandler* network_state_handler();
72 NetworkDeviceHandler* network_device_handler(); 73 NetworkDeviceHandler* network_device_handler();
73 NetworkProfileHandler* network_profile_handler(); 74 NetworkProfileHandler* network_profile_handler();
74 NetworkConfigurationHandler* network_configuration_handler(); 75 NetworkConfigurationHandler* network_configuration_handler();
75 ManagedNetworkConfigurationHandler* managed_network_configuration_handler(); 76 ManagedNetworkConfigurationHandler* managed_network_configuration_handler();
76 NetworkActivationHandler* network_activation_handler(); 77 NetworkActivationHandler* network_activation_handler();
78 NetworkCertificateHandler* network_certificate_handler();
77 NetworkConnectionHandler* network_connection_handler(); 79 NetworkConnectionHandler* network_connection_handler();
78 NetworkSmsHandler* network_sms_handler(); 80 NetworkSmsHandler* network_sms_handler();
79 GeolocationHandler* geolocation_handler(); 81 GeolocationHandler* geolocation_handler();
80 ProhibitedTechnologiesHandler* prohibited_technologies_handler(); 82 ProhibitedTechnologiesHandler* prohibited_technologies_handler();
81 83
82 // Global network configuration services. 84 // Global network configuration services.
83 UIProxyConfigService* ui_proxy_config_service(); 85 UIProxyConfigService* ui_proxy_config_service();
84 86
85 private: 87 private:
86 NetworkHandler(); 88 NetworkHandler();
87 virtual ~NetworkHandler(); 89 virtual ~NetworkHandler();
88 90
89 void Init(); 91 void Init();
90 92
91 // The order of these determines the (inverse) destruction order. 93 // The order of these determines the (inverse) destruction order.
92 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 94 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
93 std::unique_ptr<NetworkStateHandler> network_state_handler_; 95 std::unique_ptr<NetworkStateHandler> network_state_handler_;
94 std::unique_ptr<NetworkDeviceHandlerImpl> network_device_handler_; 96 std::unique_ptr<NetworkDeviceHandlerImpl> network_device_handler_;
95 std::unique_ptr<NetworkProfileHandler> network_profile_handler_; 97 std::unique_ptr<NetworkProfileHandler> network_profile_handler_;
96 std::unique_ptr<NetworkConfigurationHandler> network_configuration_handler_; 98 std::unique_ptr<NetworkConfigurationHandler> network_configuration_handler_;
97 std::unique_ptr<ManagedNetworkConfigurationHandlerImpl> 99 std::unique_ptr<ManagedNetworkConfigurationHandlerImpl>
98 managed_network_configuration_handler_; 100 managed_network_configuration_handler_;
99 std::unique_ptr<NetworkCertMigrator> network_cert_migrator_; 101 std::unique_ptr<NetworkCertMigrator> network_cert_migrator_;
102 std::unique_ptr<NetworkCertificateHandler> network_certificate_handler_;
100 std::unique_ptr<ClientCertResolver> client_cert_resolver_; 103 std::unique_ptr<ClientCertResolver> client_cert_resolver_;
101 std::unique_ptr<NetworkActivationHandler> network_activation_handler_; 104 std::unique_ptr<NetworkActivationHandler> network_activation_handler_;
102 std::unique_ptr<NetworkConnectionHandler> network_connection_handler_; 105 std::unique_ptr<NetworkConnectionHandler> network_connection_handler_;
103 std::unique_ptr<AutoConnectHandler> auto_connect_handler_; 106 std::unique_ptr<AutoConnectHandler> auto_connect_handler_;
104 std::unique_ptr<NetworkSmsHandler> network_sms_handler_; 107 std::unique_ptr<NetworkSmsHandler> network_sms_handler_;
105 std::unique_ptr<GeolocationHandler> geolocation_handler_; 108 std::unique_ptr<GeolocationHandler> geolocation_handler_;
106 std::unique_ptr<ProhibitedTechnologiesHandler> 109 std::unique_ptr<ProhibitedTechnologiesHandler>
107 prohibited_technologies_handler_; 110 prohibited_technologies_handler_;
108 std::unique_ptr<UIProxyConfigService> ui_proxy_config_service_; 111 std::unique_ptr<UIProxyConfigService> ui_proxy_config_service_;
109 112
110 DISALLOW_COPY_AND_ASSIGN(NetworkHandler); 113 DISALLOW_COPY_AND_ASSIGN(NetworkHandler);
111 }; 114 };
112 115
113 } // namespace chromeos 116 } // namespace chromeos
114 117
115 #endif // CHROMEOS_NETWORK_NETWORK_HANDLER_H_ 118 #endif // CHROMEOS_NETWORK_NETWORK_HANDLER_H_
OLDNEW
« no previous file with comments | « chromeos/network/network_certificate_handler.cc ('k') | chromeos/network/network_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698