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

Unified Diff: chromecast/shell/browser/cast_browser_main_parts.h

Issue 521753002: Chromecast: adds CastBrowserProcess to manage browser process entities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed obsolete member Created 6 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/chromecast.gyp ('k') | chromecast/shell/browser/cast_browser_main_parts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/shell/browser/cast_browser_main_parts.h
diff --git a/chromecast/shell/browser/cast_browser_main_parts.h b/chromecast/shell/browser/cast_browser_main_parts.h
index 6be05ada2965ff29ae3a6dcc4cad7f4b67994db1..e620eb24ac930ceb44fda5865a3db3e8fc8b137e 100644
--- a/chromecast/shell/browser/cast_browser_main_parts.h
+++ b/chromecast/shell/browser/cast_browser_main_parts.h
@@ -15,17 +15,8 @@ struct MainFunctionParams;
}
namespace chromecast {
-
-class CastService;
-
-namespace metrics {
-class CastMetricsServiceClient;
-} // namespace metrics
-
namespace shell {
-
-class CastBrowserContext;
-class RemoteDebuggingServer;
+class CastBrowserProcess;
class URLRequestContextFactory;
class CastBrowserMainParts : public content::BrowserMainParts {
@@ -43,15 +34,9 @@ class CastBrowserMainParts : public content::BrowserMainParts {
virtual bool MainMessageLoopRun(int* result_code) OVERRIDE;
virtual void PostMainMessageLoopRun() OVERRIDE;
- CastBrowserContext* browser_context() {
- return browser_context_.get();
- }
-
private:
- scoped_ptr<CastBrowserContext> browser_context_;
- scoped_ptr<CastService> cast_service_;
- scoped_ptr<metrics::CastMetricsServiceClient> metrics_service_client_;
- scoped_ptr<RemoteDebuggingServer> dev_tools_;
+ scoped_ptr<CastBrowserProcess> cast_browser_process_;
+
URLRequestContextFactory* const url_request_context_factory_;
DISALLOW_COPY_AND_ASSIGN(CastBrowserMainParts);
« no previous file with comments | « chromecast/chromecast.gyp ('k') | chromecast/shell/browser/cast_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698