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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/common/content_client.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/public/app/content_main_delegate.h" 5 #include "content/public/app/content_main_delegate.h"
6 6
7 #include "content/public/browser/content_browser_client.h" 7 #include "content/public/browser/content_browser_client.h"
8
9 #if !defined(OS_IOS)
8 #include "content/public/plugin/content_plugin_client.h" 10 #include "content/public/plugin/content_plugin_client.h"
9 #include "content/public/renderer/content_renderer_client.h" 11 #include "content/public/renderer/content_renderer_client.h"
10 #include "content/public/utility/content_utility_client.h" 12 #include "content/public/utility/content_utility_client.h"
13 #endif
11 14
12 namespace content { 15 namespace content {
13 16
14 bool ContentMainDelegate::BasicStartupComplete(int* exit_code) { 17 bool ContentMainDelegate::BasicStartupComplete(int* exit_code) {
15 return false; 18 return false;
16 } 19 }
17 20
18 int ContentMainDelegate::RunProcess( 21 int ContentMainDelegate::RunProcess(
19 const std::string& process_type, 22 const std::string& process_type,
20 const content::MainFunctionParams& main_function_params) { 23 const content::MainFunctionParams& main_function_params) {
(...skipping 22 matching lines...) Expand all
43 return NULL; 46 return NULL;
44 } 47 }
45 48
46 #endif 49 #endif
47 50
48 ContentBrowserClient* ContentMainDelegate::CreateContentBrowserClient() { 51 ContentBrowserClient* ContentMainDelegate::CreateContentBrowserClient() {
49 return new ContentBrowserClient(); 52 return new ContentBrowserClient();
50 } 53 }
51 54
52 ContentPluginClient* ContentMainDelegate::CreateContentPluginClient() { 55 ContentPluginClient* ContentMainDelegate::CreateContentPluginClient() {
56 #if defined(OS_IOS)
57 return NULL;
58 #else
53 return new ContentPluginClient(); 59 return new ContentPluginClient();
60 #endif
54 } 61 }
55 62
56 ContentRendererClient* ContentMainDelegate::CreateContentRendererClient() { 63 ContentRendererClient* ContentMainDelegate::CreateContentRendererClient() {
64 #if defined(OS_IOS)
65 return NULL;
66 #else
57 return new ContentRendererClient(); 67 return new ContentRendererClient();
68 #endif
58 } 69 }
59 70
60 ContentUtilityClient* ContentMainDelegate::CreateContentUtilityClient() { 71 ContentUtilityClient* ContentMainDelegate::CreateContentUtilityClient() {
72 #if defined(OS_IOS)
73 return NULL;
74 #else
61 return new ContentUtilityClient(); 75 return new ContentUtilityClient();
76 #endif
62 } 77 }
63 78
64 } // namespace content 79 } // namespace content
OLDNEW
« 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