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

Unified Diff: chrome/test/testing_browser_process.cc

Issue 6292017: Extended: Add "system" URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Chrome OS compile fix Created 9 years, 9 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.cc
diff --git a/chrome/test/testing_browser_process.cc b/chrome/test/testing_browser_process.cc
index 9a4e72fba136708f30e408164ba828fc7065c74f..49826fec683596e79eb1e3445c497ada36b7e13d 100644
--- a/chrome/test/testing_browser_process.cc
+++ b/chrome/test/testing_browser_process.cc
@@ -13,6 +13,7 @@
#include "chrome/browser/policy/dummy_configuration_policy_provider.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile_manager.h"
+#include "chrome/common/net/url_request_context_getter.h"
#include "ui/base/clipboard/clipboard.h"
TestingBrowserProcess::TestingBrowserProcess()
@@ -113,6 +114,18 @@ TestingBrowserProcess::safe_browsing_detection_service() {
return NULL;
}
+scoped_refptr<URLRequestContextGetter>
+TestingBrowserProcess::system_request_context() {
+ return NULL;
Mattias Nissler (ping if slow) 2011/03/09 11:04:56 Are we prepared to handle that?
battre 2011/03/09 19:24:07 Currently, there are only two use cases of system_
+}
+
+#if defined(OS_CHROMEOS)
+chromeos::ProxyConfigServiceImpl*
+TestingBrowserProcess::chromeos_proxy_config_service_impl() {
+ return NULL;
Mattias Nissler (ping if slow) 2011/03/09 11:04:56 same here?
battre 2011/03/09 19:24:07 This was copied literally from TestingProfile.
+}
+#endif // defined(OS_CHROMEOS)
+
ui::Clipboard* TestingBrowserProcess::clipboard() {
if (!clipboard_.get()) {
// Note that we need a MessageLoop for the next call to work.

Powered by Google App Engine
This is Rietveld 408576698