| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |