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

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

Issue 5005002: Dynamically refresh pref-configured proxies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Eric's feedback. Created 10 years, 1 month 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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_CHROME_URL_REQUEST_CONTEXT_H_ 5 #ifndef CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_
6 #define CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ 6 #define CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 scoped_refptr<ExtensionInfoMap> extension_info_map_; 377 scoped_refptr<ExtensionInfoMap> extension_info_map_;
378 378
379 FilePath profile_dir_path_; 379 FilePath profile_dir_path_;
380 380
381 private: 381 private:
382 IOThread* const io_thread_; 382 IOThread* const io_thread_;
383 383
384 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextFactory); 384 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextFactory);
385 }; 385 };
386 386
387 // Creates a proxy configuration from proxy-related preferences fetched
388 // from |pref_service|. The relevant preferences in |pref_service| are
389 // initialized from the process' command line or by applicable proxy policies.
390 net::ProxyConfig* CreateProxyConfig(const PrefService* pref_service);
391
392 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ 387 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698