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

Side by Side Diff: chrome/browser/net/proxy_policy_handler.h

Issue 109743002: Move policy code into components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar fixes Created 7 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 | Annotate | Revision Log
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 CHROME_BROWSER_NET_PROXY_POLICY_HANDLER_H_ 5 #ifndef CHROME_BROWSER_NET_PROXY_POLICY_HANDLER_H_
6 #define CHROME_BROWSER_NET_PROXY_POLICY_HANDLER_H_ 6 #define CHROME_BROWSER_NET_PROXY_POLICY_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "chrome/browser/policy/configuration_policy_handler.h" 11 #include "components/policy/core/browser/configuration_policy_handler.h"
12 12
13 namespace policy { 13 namespace policy {
14 14
15 class ProxyMap; 15 class ProxyMap;
16 class ProxyErrorMap; 16 class ProxyErrorMap;
17 17
18 // ConfigurationPolicyHandler for the proxy policies. 18 // ConfigurationPolicyHandler for the proxy policies.
19 class ProxyPolicyHandler : public ConfigurationPolicyHandler { 19 class ProxyPolicyHandler : public ConfigurationPolicyHandler {
20 public: 20 public:
21 // Constants for the "Proxy Server Mode" defined in the policies. 21 // Constants for the "Proxy Server Mode" defined in the policies.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 bool CheckProxyModeAndServerMode(const PolicyMap& policies, 55 bool CheckProxyModeAndServerMode(const PolicyMap& policies,
56 PolicyErrorMap* errors, 56 PolicyErrorMap* errors,
57 std::string* mode_value); 57 std::string* mode_value);
58 58
59 DISALLOW_COPY_AND_ASSIGN(ProxyPolicyHandler); 59 DISALLOW_COPY_AND_ASSIGN(ProxyPolicyHandler);
60 }; 60 };
61 61
62 } // namespace policy 62 } // namespace policy
63 63
64 #endif // CHROME_BROWSER_NET_PROXY_POLICY_HANDLER_H_ 64 #endif // CHROME_BROWSER_NET_PROXY_POLICY_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/disk_cache_dir_policy_handler.h ('k') | chrome/browser/net/proxy_policy_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698