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

Unified Diff: chromecast/service/cast_service.cc

Issue 608093002: Chromecast: adds callback for CastService to control metrics state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cast-network-delegate
Patch Set: rebase 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
« no previous file with comments | « chromecast/service/cast_service.h ('k') | chromecast/service/cast_service_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/service/cast_service.cc
diff --git a/chromecast/service/cast_service.cc b/chromecast/service/cast_service.cc
index 1533b20178318ca9c7f1ee49b6d0fd34dc13e36f..0490b0f50745c5edaf083634bdd03015316b2184 100644
--- a/chromecast/service/cast_service.cc
+++ b/chromecast/service/cast_service.cc
@@ -9,8 +9,11 @@
namespace chromecast {
-CastService::CastService(content::BrowserContext* browser_context)
+CastService::CastService(
+ content::BrowserContext* browser_context,
+ const OptInStatsChangedCallback& opt_in_stats_callback)
: browser_context_(browser_context),
+ opt_in_stats_callback_(opt_in_stats_callback),
stopped_(true),
thread_checker_(new base::ThreadChecker()) {
}
« no previous file with comments | « chromecast/service/cast_service.h ('k') | chromecast/service/cast_service_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698