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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_ |
OLD | NEW |