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

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..61dd7cd12ead5280eaef41c5fef1470ba951b424 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;
@@ -39,12 +40,19 @@ class ResourceDispatcherHost;
class SidebarManager;
class TabCloseableStateWatcher;
class ThumbnailGenerator;
+class URLRequestContextGetter;
namespace base {
class Thread;
class WaitableEvent;
}
+#if defined(OS_CHROMEOS)
+namespace chromeos {
+class ProxyConfigServiceImpl;
+}
+#endif // defined(OS_CHROMEOS)
+
namespace printing {
class PrintJobManager;
class PrintPreviewTabController;
@@ -80,6 +88,13 @@ class BrowserProcess {
virtual DevToolsManager* devtools_manager() = 0;
virtual SidebarManager* sidebar_manager() = 0;
virtual ui::Clipboard* clipboard() = 0;
+ virtual scoped_refptr<URLRequestContextGetter> system_request_context() = 0;
+
+#if defined(OS_CHROMEOS)
+ // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created.
+ virtual chromeos::ProxyConfigServiceImpl*
+ chromeos_proxy_config_service_impl() = 0;
+#endif // defined(OS_CHROMEOS)
// Returns the manager for desktop notifications.
virtual NotificationUIManager* notification_ui_manager() = 0;
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.h » ('j') | chrome/browser/chromeos/proxy_config_service_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698