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

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: Back to variant that avoids DeleteOnUIThread, make TestingProfile return a real tracker. 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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 scoped_refptr<ExtensionInfoMap> extension_info_map_; 381 scoped_refptr<ExtensionInfoMap> extension_info_map_;
382 382
383 FilePath profile_dir_path_; 383 FilePath profile_dir_path_;
384 384
385 private: 385 private:
386 IOThread* const io_thread_; 386 IOThread* const io_thread_;
387 387
388 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextFactory); 388 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextFactory);
389 }; 389 };
390 390
391 // Creates a proxy configuration from proxy-related preferences fetched
392 // from |pref_service|. The relevant preferences in |pref_service| are
393 // initialized from the process' command line or by applicable proxy policies.
394 net::ProxyConfig* CreateProxyConfig(const PrefService* pref_service);
395
396 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ 391 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698