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

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

Issue 2030193004: Add a policy for disabling the stripping of PAC URLs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_SERVICE_FACTORY_H_ 5 #ifndef CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_
6 #define CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_ 6 #define CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 static PrefProxyConfigTracker* CreatePrefProxyConfigTrackerOfLocalState( 45 static PrefProxyConfigTracker* CreatePrefProxyConfigTrackerOfLocalState(
46 PrefService* local_state_prefs); 46 PrefService* local_state_prefs);
47 47
48 // Create a proxy service according to the options on command line. 48 // Create a proxy service according to the options on command line.
49 static std::unique_ptr<net::ProxyService> CreateProxyService( 49 static std::unique_ptr<net::ProxyService> CreateProxyService(
50 net::NetLog* net_log, 50 net::NetLog* net_log,
51 net::URLRequestContext* context, 51 net::URLRequestContext* context,
52 net::NetworkDelegate* network_delegate, 52 net::NetworkDelegate* network_delegate,
53 std::unique_ptr<net::ProxyConfigService> proxy_config_service, 53 std::unique_ptr<net::ProxyConfigService> proxy_config_service,
54 const base::CommandLine& command_line, 54 const base::CommandLine& command_line,
55 bool quick_check_enabled); 55 bool quick_check_enabled,
56 bool pac_https_url_stripping_enabled);
56 57
57 private: 58 private:
58 DISALLOW_IMPLICIT_CONSTRUCTORS(ProxyServiceFactory); 59 DISALLOW_IMPLICIT_CONSTRUCTORS(ProxyServiceFactory);
59 }; 60 };
60 61
61 #endif // CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_ 62 #endif // CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698