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

Unified Diff: chromecast/service/cast_service_android.cc

Issue 606513002: Pass the system url request context getter to the cast service so that it can be used by various sy… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: chromecast/service/cast_service_android.cc
diff --git a/chromecast/service/cast_service_android.cc b/chromecast/service/cast_service_android.cc
index 07fdb5aa01b8349e1a074b669baaa00e4941f902..804c3e40595f60d217064e42c85aaed4c9afef01 100644
--- a/chromecast/service/cast_service_android.cc
+++ b/chromecast/service/cast_service_android.cc
@@ -6,11 +6,14 @@
#include "base/callback.h"
#include "chromecast/android/chromecast_config_android.h"
+#include "net/url_request/url_request_context_getter.h"
namespace chromecast {
// static
-CastService* CastService::Create(content::BrowserContext* browser_context) {
+CastService* CastService::Create(
+ content::BrowserContext* browser_context,
+ net::URLRequestContextGetter* request_context_getter) {
return new CastServiceAndroid(browser_context);
}

Powered by Google App Engine
This is Rietveld 408576698