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

Unified Diff: chromecast/browser/cast_browser_process.cc

Issue 1298473004: [Chromecast] Moves persistent UMA client ID handling to common code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: moves android dep to correct target 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
Index: chromecast/browser/cast_browser_process.cc
diff --git a/chromecast/browser/cast_browser_process.cc b/chromecast/browser/cast_browser_process.cc
index d3cfbfa9eade8c148a9905c0155d16a19a4a8533..848eb1e1ba326bb1aea280f7dac5ebda9e21b131 100644
--- a/chromecast/browser/cast_browser_process.cc
+++ b/chromecast/browser/cast_browser_process.cc
@@ -54,6 +54,12 @@ void CastBrowserProcess::SetBrowserContext(
browser_context_.swap(browser_context);
}
+void CastBrowserProcess::SetCastContentBrowserClient(
+ CastContentBrowserClient* cast_content_browser_client) {
+ DCHECK(!cast_content_browser_client_);
+ cast_content_browser_client_ = cast_content_browser_client;
+}
+
void CastBrowserProcess::SetCastService(scoped_ptr<CastService> cast_service) {
DCHECK(!cast_service_);
cast_service_.swap(cast_service);

Powered by Google App Engine
This is Rietveld 408576698