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

Side by Side Diff: content/browser/content_browser_client.cc

Issue 7036025: Get rid of chrome dependencies from PluginProcessHost by moving dispatching of chrome specific me... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/content_browser_client.h ('k') | content/browser/plugin_process_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/content_browser_client.h" 5 #include "content/browser/content_browser_client.h"
6 6
7 #include "base/memory/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "content/browser/webui/empty_web_ui_factory.h" 8 #include "content/browser/webui/empty_web_ui_factory.h"
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 void ContentBrowserClient::RenderViewHostCreated( 13 void ContentBrowserClient::RenderViewHostCreated(
14 RenderViewHost* render_view_host) { 14 RenderViewHost* render_view_host) {
15 } 15 }
16 16
17 void ContentBrowserClient::BrowserRenderProcessHostCreated( 17 void ContentBrowserClient::BrowserRenderProcessHostCreated(
18 BrowserRenderProcessHost* host) { 18 BrowserRenderProcessHost* host) {
19 } 19 }
20 20
21 void ContentBrowserClient::PluginProcessHostCreated(PluginProcessHost* host) {
22 }
23
21 void ContentBrowserClient::WorkerProcessHostCreated(WorkerProcessHost* host) { 24 void ContentBrowserClient::WorkerProcessHostCreated(WorkerProcessHost* host) {
22 } 25 }
23 26
24 WebUIFactory* ContentBrowserClient::GetWebUIFactory() { 27 WebUIFactory* ContentBrowserClient::GetWebUIFactory() {
25 // Return an empty factory so callsites don't have to check for NULL. 28 // Return an empty factory so callsites don't have to check for NULL.
26 return EmptyWebUIFactory::Get(); 29 return EmptyWebUIFactory::Get();
27 } 30 }
28 31
29 GURL ContentBrowserClient::GetEffectiveURL(Profile* profile, const GURL& url) { 32 GURL ContentBrowserClient::GetEffectiveURL(Profile* profile, const GURL& url) {
30 return url; 33 return url;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 return true; 76 return true;
74 } 77 }
75 78
76 #if defined(OS_LINUX) 79 #if defined(OS_LINUX)
77 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) { 80 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) {
78 return -1; 81 return -1;
79 } 82 }
80 #endif 83 #endif
81 84
82 } // namespace content 85 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/content_browser_client.h ('k') | content/browser/plugin_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698