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

Side by Side Diff: chromeos/network/proxy/proxy_config_handler.h

Issue 2549043002: chromeos: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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/onc/onc_certificate_importer_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_PROXY_PROXY_CONFIG_HANDLER_H_ 5 #ifndef CHROMEOS_NETWORK_PROXY_PROXY_CONFIG_HANDLER_H_
6 #define CHROMEOS_NETWORK_PROXY_PROXY_CONFIG_HANDLER_H_ 6 #define CHROMEOS_NETWORK_PROXY_PROXY_CONFIG_HANDLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "chromeos/chromeos_export.h" 10 #include "chromeos/chromeos_export.h"
11 #include "components/onc/onc_constants.h" 11 #include "components/onc/onc_constants.h"
12 12
13 class PrefRegistrySimple;
14 class PrefService; 13 class PrefService;
15 class ProxyConfigDictionary; 14 class ProxyConfigDictionary;
16 15
17 namespace user_prefs {
18 class PrefRegistrySyncable;
19 }
20
21 namespace chromeos { 16 namespace chromeos {
22 17
23 class NetworkState; 18 class NetworkState;
24 19
25 namespace proxy_config { 20 namespace proxy_config {
26 21
27 // Get the proxy configuration including per-network policies for network 22 // Get the proxy configuration including per-network policies for network
28 // |network|. If |profile_prefs| is NULL, then only shared settings (and device 23 // |network|. If |profile_prefs| is NULL, then only shared settings (and device
29 // policy) are respected. This is e.g. the case for the signin screen and the 24 // policy) are respected. This is e.g. the case for the signin screen and the
30 // system request context. 25 // system request context.
31 CHROMEOS_EXPORT std::unique_ptr<ProxyConfigDictionary> GetProxyConfigForNetwork( 26 CHROMEOS_EXPORT std::unique_ptr<ProxyConfigDictionary> GetProxyConfigForNetwork(
32 const PrefService* profile_prefs, 27 const PrefService* profile_prefs,
33 const PrefService* local_state_prefs, 28 const PrefService* local_state_prefs,
34 const NetworkState& network, 29 const NetworkState& network,
35 ::onc::ONCSource* onc_source); 30 ::onc::ONCSource* onc_source);
36 31
37 CHROMEOS_EXPORT void SetProxyConfigForNetwork( 32 CHROMEOS_EXPORT void SetProxyConfigForNetwork(
38 const ProxyConfigDictionary& proxy_config, 33 const ProxyConfigDictionary& proxy_config,
39 const NetworkState& network); 34 const NetworkState& network);
40 35
41 } // namespace proxy_config 36 } // namespace proxy_config
42 37
43 } // namespace chromeos 38 } // namespace chromeos
44 39
45 #endif // CHROMEOS_NETWORK_PROXY_PROXY_CONFIG_HANDLER_H_ 40 #endif // CHROMEOS_NETWORK_PROXY_PROXY_CONFIG_HANDLER_H_
OLDNEW
« no previous file with comments | « chromeos/network/onc/onc_certificate_importer_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698