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

Unified Diff: chromecast/browser/service/cast_service_simple.cc

Issue 1327723002: [Chromecast] Raises CastService creation to CastContentBrowserClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: removed unnecessary include Created 5 years, 4 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
« no previous file with comments | « chromecast/browser/service/cast_service_simple.h ('k') | chromecast/chromecast.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/service/cast_service_simple.cc
diff --git a/chromecast/browser/service/cast_service_simple.cc b/chromecast/browser/service/cast_service_simple.cc
index 2a40b3e16df58646ede57f86dd0e818f380e176a..db05742d9088a9efb8903928587b63125bd4d4f0 100644
--- a/chromecast/browser/service/cast_service_simple.cc
+++ b/chromecast/browser/service/cast_service_simple.cc
@@ -33,22 +33,10 @@ GURL GetStartupURL() {
} // namespace
-// static
-scoped_ptr<CastService> CastService::Create(
- content::BrowserContext* browser_context,
- PrefService* pref_service,
- metrics::CastMetricsServiceClient* metrics_service_client,
- net::URLRequestContextGetter* request_context_getter) {
- return scoped_ptr<CastService>(new CastServiceSimple(browser_context,
- pref_service,
- metrics_service_client));
-}
-
CastServiceSimple::CastServiceSimple(
content::BrowserContext* browser_context,
- PrefService* pref_service,
- metrics::CastMetricsServiceClient* metrics_service_client)
- : CastService(browser_context, pref_service, metrics_service_client) {
+ PrefService* pref_service)
+ : CastService(browser_context, pref_service) {
}
CastServiceSimple::~CastServiceSimple() {
« no previous file with comments | « chromecast/browser/service/cast_service_simple.h ('k') | chromecast/chromecast.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698