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

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

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 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
« no previous file with comments | « content/app/content_main_runner.cc ('k') | content/browser/gpu/gpu_process_host.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/browser/browser_main_runner.h" 5 #include "content/public/browser/browser_main_runner.h"
6 6
7 #include "base/allocator/allocator_shim.h" 7 #include "base/allocator/allocator_shim.h"
8 #include "base/base_switches.h" 8 #include "base/base_switches.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
(...skipping 12 matching lines...) Expand all
23 #include "ui/base/win/scoped_ole_initializer.h" 23 #include "ui/base/win/scoped_ole_initializer.h"
24 #include "ui/base/ime/win/tsf_bridge.h" 24 #include "ui/base/ime/win/tsf_bridge.h"
25 #endif 25 #endif
26 26
27 #if defined(OS_ANDROID) 27 #if defined(OS_ANDROID)
28 #include "content/browser/android/surface_texture_peer_browser_impl.h" 28 #include "content/browser/android/surface_texture_peer_browser_impl.h"
29 #endif 29 #endif
30 30
31 bool g_exited_main_message_loop = false; 31 bool g_exited_main_message_loop = false;
32 32
33 using content::ChildProcess;
34
33 namespace { 35 namespace {
34 36
35 class BrowserMainRunnerImpl : public content::BrowserMainRunner { 37 class BrowserMainRunnerImpl : public content::BrowserMainRunner {
36 public: 38 public:
37 BrowserMainRunnerImpl() 39 BrowserMainRunnerImpl()
38 : is_initialized_(false), 40 : is_initialized_(false),
39 is_shutdown_(false), 41 is_shutdown_(false),
40 created_threads_(false) { 42 created_threads_(false) {
41 } 43 }
42 44
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 } // namespace 168 } // namespace
167 169
168 namespace content { 170 namespace content {
169 171
170 // static 172 // static
171 BrowserMainRunner* BrowserMainRunner::Create() { 173 BrowserMainRunner* BrowserMainRunner::Create() {
172 return new BrowserMainRunnerImpl(); 174 return new BrowserMainRunnerImpl();
173 } 175 }
174 176
175 } // namespace content 177 } // namespace content
OLDNEW
« no previous file with comments | « content/app/content_main_runner.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698