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

Unified Diff: chrome/browser/browser_process.h

Issue 6292017: Extended: Add "system" URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments 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.h
diff --git a/chrome/browser/browser_process.h b/chrome/browser/browser_process.h
index 17979c203d2501924428d9d68885b3ed22b8e64c..04ebf0d7824d961f8bdd41db6482f49bb987ed8c 100644
--- a/chrome/browser/browser_process.h
+++ b/chrome/browser/browser_process.h
@@ -15,6 +15,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/ref_counted.h"
#include "ipc/ipc_message.h"
class AutomationProviderList;
@@ -33,12 +34,14 @@ class IntranetRedirectDetector;
class IOThread;
class MetricsService;
class NotificationUIManager;
+class PrefProxyConfigTracker;
class PrefService;
class ProfileManager;
class ResourceDispatcherHost;
class SidebarManager;
class TabCloseableStateWatcher;
class ThumbnailGenerator;
+class URLRequestContextGetter;
namespace base {
class Thread;
@@ -80,6 +83,8 @@ class BrowserProcess {
virtual DevToolsManager* devtools_manager() = 0;
virtual SidebarManager* sidebar_manager() = 0;
virtual ui::Clipboard* clipboard() = 0;
+ virtual PrefProxyConfigTracker* pref_proxy_config_tracker() = 0;
+ virtual scoped_refptr<URLRequestContextGetter> system_request_context() = 0;
// Returns the manager for desktop notifications.
virtual NotificationUIManager* notification_ui_manager() = 0;
@@ -203,6 +208,8 @@ class BrowserProcess {
plugin_data_remover_mime_type_ = mime_type;
}
+ virtual void InitSystemRequestContext() = 0;
+
private:
// User-data-dir based profiles.
std::vector<std::wstring> user_data_dir_profiles_;

Powered by Google App Engine
This is Rietveld 408576698