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

Unified Diff: chromecast/browser/cast_content_browser_client.h

Issue 1153173006: Chromecast: use CastContent{Browser,Renderer}Client as a base class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rm excess methods Created 5 years, 6 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/app/cast_main_delegate.cc ('k') | chromecast/browser/cast_content_browser_client_simple.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_content_browser_client.h
diff --git a/chromecast/browser/cast_content_browser_client.h b/chromecast/browser/cast_content_browser_client.h
index f15537a1fd5dfe7a4cde100ec1d7151f593cb0b3..e1bbe68325331d6f4effeb96ceefa26bb9b41d5c 100644
--- a/chromecast/browser/cast_content_browser_client.h
+++ b/chromecast/browser/cast_content_browser_client.h
@@ -42,7 +42,10 @@ class URLRequestContextFactory;
class CastContentBrowserClient: public content::ContentBrowserClient {
public:
- CastContentBrowserClient();
+ // Creates an implementation of CastContentBrowserClient. Platform should
+ // link in an implementation as needed.
+ static scoped_ptr<CastContentBrowserClient> Create();
+
~CastContentBrowserClient() override;
// Appends extra command line arguments before launching a new process.
@@ -119,6 +122,9 @@ class CastContentBrowserClient: public content::ContentBrowserClient {
content::WebContents* web_contents) override;
#endif // defined(OS_ANDROID) && defined(VIDEO_HOLE)
+ protected:
+ CastContentBrowserClient();
+
private:
void AddNetworkHintsMessageFilter(int render_process_id,
net::URLRequestContext* context);
« no previous file with comments | « chromecast/app/cast_main_delegate.cc ('k') | chromecast/browser/cast_content_browser_client_simple.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698