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

Side by Side Diff: content/shell/shell_main_delegate.cc

Issue 8277018: Move content_switches to content\public\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
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/shell/shell_main_delegate.h" 5 #include "content/shell/shell_main_delegate.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "content/common/content_switches.h" 8 #include "content/public/common/content_switches.h"
9 #include "content/shell/shell_content_browser_client.h" 9 #include "content/shell/shell_content_browser_client.h"
10 #include "content/shell/shell_content_plugin_client.h" 10 #include "content/shell/shell_content_plugin_client.h"
11 #include "content/shell/shell_content_renderer_client.h" 11 #include "content/shell/shell_content_renderer_client.h"
12 #include "content/shell/shell_content_utility_client.h" 12 #include "content/shell/shell_content_utility_client.h"
13 13
14 ShellMainDelegate::ShellMainDelegate() { 14 ShellMainDelegate::ShellMainDelegate() {
15 } 15 }
16 16
17 ShellMainDelegate::~ShellMainDelegate() { 17 ShellMainDelegate::~ShellMainDelegate() {
18 } 18 }
(...skipping 25 matching lines...) Expand all
44 renderer_client_.reset(new content::ShellContentRendererClient); 44 renderer_client_.reset(new content::ShellContentRendererClient);
45 content::GetContentClient()->set_renderer(renderer_client_.get()); 45 content::GetContentClient()->set_renderer(renderer_client_.get());
46 } else if (process_type == switches::kPluginProcess) { 46 } else if (process_type == switches::kPluginProcess) {
47 plugin_client_.reset(new content::ShellContentPluginClient); 47 plugin_client_.reset(new content::ShellContentPluginClient);
48 content::GetContentClient()->set_plugin(plugin_client_.get()); 48 content::GetContentClient()->set_plugin(plugin_client_.get());
49 } else if (process_type == switches::kUtilityProcess) { 49 } else if (process_type == switches::kUtilityProcess) {
50 utility_client_.reset(new content::ShellContentUtilityClient); 50 utility_client_.reset(new content::ShellContentUtilityClient);
51 content::GetContentClient()->set_utility(utility_client_.get()); 51 content::GetContentClient()->set_utility(utility_client_.get());
52 } 52 }
53 } 53 }
OLDNEW
« no previous file with comments | « content/renderer/renderer_webkitplatformsupport_impl.cc ('k') | content/test/content_test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698