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

Unified Diff: chromecast/service/cast_service_simple.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_simple.cc
diff --git a/chromecast/service/cast_service_simple.cc b/chromecast/service/cast_service_simple.cc
index 935c54e41c3edab0f39a216014ff103dac9d1d0e..c27866759519bcf6cde795b3684da70e94d77cf0 100644
--- a/chromecast/service/cast_service_simple.cc
+++ b/chromecast/service/cast_service_simple.cc
@@ -10,6 +10,7 @@
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/web_contents.h"
#include "net/base/filename_util.h"
+#include "net/url_request/url_request_context_getter.h"
#include "ui/aura/env.h"
#include "ui/aura/layout_manager.h"
#include "ui/aura/test/test_screen.h"
@@ -69,7 +70,9 @@ class FillLayout : public aura::LayoutManager {
} // namespace
// static
-CastService* CastService::Create(content::BrowserContext* browser_context) {
+CastService* CastService::Create(
+ content::BrowserContext* browser_context,
+ net::URLRequestContextGetter* request_context_getter) {
return new CastServiceSimple(browser_context);
}

Powered by Google App Engine
This is Rietveld 408576698