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

Side by Side Diff: content/renderer/render_thread_impl.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
« no previous file with comments | « content/renderer/render_process_impl.cc ('k') | content/renderer/render_view_impl.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) 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/renderer/render_thread_impl.h" 5 #include "content/renderer/render_thread_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/debug/trace_event.h" 13 #include "base/debug/trace_event.h"
14 #include "base/lazy_instance.h" 14 #include "base/lazy_instance.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/metrics/field_trial.h" 16 #include "base/metrics/field_trial.h"
17 #include "base/metrics/histogram.h" 17 #include "base/metrics/histogram.h"
18 #include "base/metrics/stats_table.h" 18 #include "base/metrics/stats_table.h"
19 #include "base/process_util.h" 19 #include "base/process_util.h"
20 #include "base/shared_memory.h" 20 #include "base/shared_memory.h"
21 #include "base/task.h" 21 #include "base/task.h"
22 #include "base/threading/thread_local.h" 22 #include "base/threading/thread_local.h"
23 #include "base/values.h" 23 #include "base/values.h"
24 #include "content/common/appcache/appcache_dispatcher.h" 24 #include "content/common/appcache/appcache_dispatcher.h"
25 #include "content/common/content_switches.h"
26 #include "content/common/database_messages.h" 25 #include "content/common/database_messages.h"
27 #include "content/common/db_message_filter.h" 26 #include "content/common/db_message_filter.h"
28 #include "content/common/dom_storage_messages.h" 27 #include "content/common/dom_storage_messages.h"
29 #include "content/common/gpu/gpu_messages.h" 28 #include "content/common/gpu/gpu_messages.h"
30 #include "content/common/npobject_util.h" 29 #include "content/common/npobject_util.h"
31 #include "content/common/plugin_messages.h" 30 #include "content/common/plugin_messages.h"
32 #include "content/common/renderer_preferences.h" 31 #include "content/common/renderer_preferences.h"
33 #include "content/common/resource_dispatcher.h" 32 #include "content/common/resource_dispatcher.h"
34 #include "content/common/resource_messages.h" 33 #include "content/common/resource_messages.h"
35 #include "content/common/view_messages.h" 34 #include "content/common/view_messages.h"
36 #include "content/common/web_database_observer_impl.h" 35 #include "content/common/web_database_observer_impl.h"
36 #include "content/public/common/content_switches.h"
37 #include "content/public/renderer/content_renderer_client.h" 37 #include "content/public/renderer/content_renderer_client.h"
38 #include "content/public/renderer/render_process_observer.h" 38 #include "content/public/renderer/render_process_observer.h"
39 #include "content/public/renderer/render_view_visitor.h" 39 #include "content/public/renderer/render_view_visitor.h"
40 #include "content/renderer/devtools_agent_filter.h" 40 #include "content/renderer/devtools_agent_filter.h"
41 #include "content/renderer/gpu/compositor_thread.h" 41 #include "content/renderer/gpu/compositor_thread.h"
42 #include "content/renderer/gpu/gpu_channel_host.h" 42 #include "content/renderer/gpu/gpu_channel_host.h"
43 #include "content/renderer/indexed_db_dispatcher.h" 43 #include "content/renderer/indexed_db_dispatcher.h"
44 #include "content/renderer/media/audio_input_message_filter.h" 44 #include "content/renderer/media/audio_input_message_filter.h"
45 #include "content/renderer/media/audio_message_filter.h" 45 #include "content/renderer/media/audio_message_filter.h"
46 #include "content/renderer/media/video_capture_impl_manager.h" 46 #include "content/renderer/media/video_capture_impl_manager.h"
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 766
767 scoped_refptr<base::MessageLoopProxy> 767 scoped_refptr<base::MessageLoopProxy>
768 RenderThreadImpl::GetFileThreadMessageLoopProxy() { 768 RenderThreadImpl::GetFileThreadMessageLoopProxy() {
769 DCHECK(message_loop() == MessageLoop::current()); 769 DCHECK(message_loop() == MessageLoop::current());
770 if (!file_thread_.get()) { 770 if (!file_thread_.get()) {
771 file_thread_.reset(new base::Thread("Renderer::FILE")); 771 file_thread_.reset(new base::Thread("Renderer::FILE"));
772 file_thread_->Start(); 772 file_thread_->Start();
773 } 773 }
774 return file_thread_->message_loop_proxy(); 774 return file_thread_->message_loop_proxy();
775 } 775 }
OLDNEW
« no previous file with comments | « content/renderer/render_process_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698