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

Unified Diff: chrome/test/testing_browser_process.h

Issue 6292017: Extended: Add "system" URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Continued 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/test/testing_browser_process.h
diff --git a/chrome/test/testing_browser_process.h b/chrome/test/testing_browser_process.h
index 6945f31b488e616b675d42c091a279d18013921f..52a93bfb79d36a64b08528c8952d661768563765 100644
--- a/chrome/test/testing_browser_process.h
+++ b/chrome/test/testing_browser_process.h
@@ -17,6 +17,13 @@
#include "base/scoped_ptr.h"
#include "chrome/browser/browser_process.h"
+#include "chrome/browser/google/google_url_tracker.h"
+#include "chrome/browser/net/pref_proxy_config_service.h"
+#include "chrome/browser/policy/configuration_policy_pref_store.h"
+#include "chrome/browser/policy/configuration_policy_provider.h"
+#include "chrome/browser/policy/configuration_policy_provider_keeper.h"
+#include "chrome/browser/policy/dummy_configuration_policy_provider.h"
+#include "chrome/browser/prefs/pref_service.h"
#include "chrome/common/notification_service.h"
class IOThread;
@@ -78,6 +85,10 @@ class TestingBrowserProcess : public BrowserProcess {
virtual safe_browsing::ClientSideDetectionService*
safe_browsing_detection_service();
+ virtual PrefProxyConfigTracker* pref_proxy_config_tracker();
+
+ virtual URLRequestContextGetter* system_request_context();
+
virtual ui::Clipboard* clipboard();
virtual NotificationUIManager* notification_ui_manager();
@@ -123,6 +134,7 @@ class TestingBrowserProcess : public BrowserProcess {
virtual void SetIPCLoggingEnabled(bool enable) {}
#endif
+ virtual void InitSystemRequestContext() {}
void SetPrefService(PrefService* pref_service);
void SetGoogleURLTracker(GoogleURLTracker* google_url_tracker);
@@ -131,6 +143,7 @@ class TestingBrowserProcess : public BrowserProcess {
scoped_ptr<base::WaitableEvent> shutdown_event_;
unsigned int module_ref_count_;
scoped_ptr<ui::Clipboard> clipboard_;
+ scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
std::string app_locale_;
PrefService* pref_service_;

Powered by Google App Engine
This is Rietveld 408576698