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

Unified Diff: trunk/src/content/public/app/content_main_delegate.cc

Issue 19572012: Revert 212230 "Create top-level separate targets for browser and..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 5 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 | « trunk/src/content/content_common.gypi ('k') | trunk/src/ui/keyboard/keyboard.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/content/public/app/content_main_delegate.cc
===================================================================
--- trunk/src/content/public/app/content_main_delegate.cc (revision 212238)
+++ trunk/src/content/public/app/content_main_delegate.cc (working copy)
@@ -48,28 +48,26 @@
#endif
-#if !defined(CHROME_MULTIPLE_DLL) || defined(CHROME_MULTIPLE_DLL_CHILD)
+ContentBrowserClient* ContentMainDelegate::CreateContentBrowserClient() {
+ return new ContentBrowserClient();
+}
-ContentRendererClient* ContentMainDelegate::CreateContentRendererClient() {
+ContentPluginClient* ContentMainDelegate::CreateContentPluginClient() {
#if defined(OS_IOS)
return NULL;
#else
- return new ContentRendererClient();
+ return new ContentPluginClient();
#endif
}
-ContentPluginClient* ContentMainDelegate::CreateContentPluginClient() {
+ContentRendererClient* ContentMainDelegate::CreateContentRendererClient() {
#if defined(OS_IOS)
return NULL;
#else
- return new ContentPluginClient();
+ return new ContentRendererClient();
#endif
}
-ContentBrowserClient* ContentMainDelegate::CreateContentBrowserClient() {
- return NULL;
-}
-
ContentUtilityClient* ContentMainDelegate::CreateContentUtilityClient() {
#if defined(OS_IOS)
return NULL;
@@ -78,24 +76,4 @@
#endif
}
-#else // In browser in multiple DLL mode.
-
-ContentRendererClient* ContentMainDelegate::CreateContentRendererClient() {
- return NULL;
-}
-
-ContentPluginClient* ContentMainDelegate::CreateContentPluginClient() {
- return NULL;
-}
-ContentBrowserClient* ContentMainDelegate::CreateContentBrowserClient() {
- return new ContentBrowserClient();
-}
-
-ContentUtilityClient* ContentMainDelegate::CreateContentUtilityClient() {
- return NULL;
-}
-
-#endif
-
-
} // namespace content
« no previous file with comments | « trunk/src/content/content_common.gypi ('k') | trunk/src/ui/keyboard/keyboard.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698