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

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

Issue 10933091: Enable a minimal content/ build on iOS (Closed) Base URL: http://git.chromium.org/chromium/src.git@rohits-image-change
Patch Set: Rebase Created 8 years, 3 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 | « content/content_tests.gypi ('k') | content/public/common/content_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/app/content_main_delegate.cc
diff --git a/content/public/app/content_main_delegate.cc b/content/public/app/content_main_delegate.cc
index 51a6742e9ebdf60fd7ecab560363c5db919ebae9..02557b745fd3207c9867cefc189fbb4409aaf207 100644
--- a/content/public/app/content_main_delegate.cc
+++ b/content/public/app/content_main_delegate.cc
@@ -5,9 +5,12 @@
#include "content/public/app/content_main_delegate.h"
#include "content/public/browser/content_browser_client.h"
+
+#if !defined(OS_IOS)
#include "content/public/plugin/content_plugin_client.h"
#include "content/public/renderer/content_renderer_client.h"
#include "content/public/utility/content_utility_client.h"
+#endif
namespace content {
@@ -50,15 +53,27 @@ ContentBrowserClient* ContentMainDelegate::CreateContentBrowserClient() {
}
ContentPluginClient* ContentMainDelegate::CreateContentPluginClient() {
+#if defined(OS_IOS)
+ return NULL;
+#else
return new ContentPluginClient();
+#endif
}
ContentRendererClient* ContentMainDelegate::CreateContentRendererClient() {
+#if defined(OS_IOS)
+ return NULL;
+#else
return new ContentRendererClient();
+#endif
}
ContentUtilityClient* ContentMainDelegate::CreateContentUtilityClient() {
+#if defined(OS_IOS)
+ return NULL;
+#else
return new ContentUtilityClient();
+#endif
}
} // namespace content
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/common/content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698