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

Unified Diff: chrome/browser/browser_process_impl.h

Issue 6292017: Extended: Add "system" URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/browser_process_impl.h
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
index 5353a12709a01691cfb96688387a815f8fbbd2fc..a97b18f1ea77ab2585d8be64b68dcf272320773f 100644
--- a/chrome/browser/browser_process_impl.h
+++ b/chrome/browser/browser_process_impl.h
@@ -20,6 +20,7 @@
#include "base/scoped_ptr.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/download/download_status_updater.h"
+#include "chrome/browser/net/pref_proxy_config_service.h"
#include "chrome/browser/prefs/pref_change_registrar.h"
#include "chrome/browser/tab_contents/thumbnail_generator.h"
#include "chrome/common/notification_observer.h"
@@ -33,8 +34,13 @@ class DevToolsProtocolHandler;
class FilePath;
class NotificationService;
class PluginDataRemover;
+class PrefProxyConfigTracker;
class TabCloseableStateWatcher;
+namespace net {
+class ProxyConfigService;
+} // namespace net
+
// Real implementation of BrowserProcess that creates and returns the services.
class BrowserProcessImpl : public BrowserProcess,
public base::NonThreadSafe,
@@ -61,6 +67,8 @@ class BrowserProcessImpl : public BrowserProcess,
virtual DevToolsManager* devtools_manager();
virtual SidebarManager* sidebar_manager();
virtual ui::Clipboard* clipboard();
+ virtual PrefProxyConfigTracker* pref_proxy_config_tracker();
+ virtual scoped_refptr<URLRequestContextGetter> system_request_context();
virtual NotificationUIManager* notification_ui_manager();
virtual policy::ConfigurationPolicyProviderKeeper*
configuration_policy_provider_keeper();
@@ -137,6 +145,8 @@ class BrowserProcessImpl : public BrowserProcess,
void CreateTabCloseableStateWatcher();
void CreatePrintPreviewTabController();
void CreateSafeBrowsingDetectionService();
+ void CreatePrefProxyConfigTracker();
+ void CreateSystemRequestContextGetter();
bool IsSafeBrowsingDetectionServiceEnabled();
@@ -214,6 +224,12 @@ class BrowserProcessImpl : public BrowserProcess,
scoped_ptr<safe_browsing::ClientSideDetectionService>
safe_browsing_detection_service_;
+ bool created_pref_proxy_config_tracker_;
+ scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
+
+ bool created_system_request_context_;
+ scoped_refptr<URLRequestContextGetter> system_request_context_;
+
unsigned int module_ref_count_;
bool did_start_;

Powered by Google App Engine
This is Rietveld 408576698