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

Unified Diff: chromecast/browser/cast_browser_process.h

Issue 1298473004: [Chromecast] Moves persistent UMA client ID handling to common code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: GN updates, initialize pointer to nullptr 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/BUILD.gn ('k') | chromecast/browser/cast_browser_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_browser_process.h
diff --git a/chromecast/browser/cast_browser_process.h b/chromecast/browser/cast_browser_process.h
index 2af917a2493bf1f3c3f37ba811ffd9e75889b4d5..422bd491eeb11aed4c939415b3333c8ecedfd0f9 100644
--- a/chromecast/browser/cast_browser_process.h
+++ b/chromecast/browser/cast_browser_process.h
@@ -31,6 +31,7 @@ class CastMetricsServiceClient;
namespace shell {
class CastBrowserContext;
+class CastContentBrowserClient;
class CastResourceDispatcherHostDelegate;
class RemoteDebuggingServer;
@@ -44,6 +45,7 @@ class CastBrowserProcess {
virtual ~CastBrowserProcess();
void SetBrowserContext(scoped_ptr<CastBrowserContext> browser_context);
+ void SetCastContentBrowserClient(CastContentBrowserClient* browser_client);
void SetCastService(scoped_ptr<CastService> cast_service);
#if defined(USE_AURA)
void SetCastScreen(scoped_ptr<CastScreen> cast_screen);
@@ -64,6 +66,9 @@ class CastBrowserProcess {
scoped_refptr<ConnectivityChecker> connectivity_checker);
void SetNetLog(net::NetLog* net_log);
+ CastContentBrowserClient* browser_client() const {
+ return cast_content_browser_client_;
+ }
CastBrowserContext* browser_context() const { return browser_context_.get(); }
CastService* cast_service() const { return cast_service_.get(); }
#if defined(USE_AURA)
@@ -100,6 +105,7 @@ class CastBrowserProcess {
#endif // defined(OS_ANDROID)
scoped_ptr<RemoteDebuggingServer> remote_debugging_server_;
+ CastContentBrowserClient* cast_content_browser_client_;
net::NetLog* net_log_;
// Note: CastService must be destroyed before others.
« no previous file with comments | « chromecast/browser/BUILD.gn ('k') | chromecast/browser/cast_browser_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698