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

Side by Side Diff: content/renderer/render_thread.cc

Issue 6864001: Move RenderProcess to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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_unittest.cc ('k') | content/renderer/render_view.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.h" 5 #include "content/renderer/render_thread.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/string_util.h" 21 #include "base/string_util.h"
22 #include "base/task.h" 22 #include "base/task.h"
23 #include "base/threading/thread_local.h" 23 #include "base/threading/thread_local.h"
24 #include "base/utf_string_conversions.h" 24 #include "base/utf_string_conversions.h"
25 #include "base/values.h" 25 #include "base/values.h"
26 #include "chrome/common/chrome_switches.h" 26 #include "chrome/common/chrome_switches.h"
27 #include "chrome/common/render_messages.h" 27 #include "chrome/common/render_messages.h"
28 #include "chrome/common/safe_browsing/safebrowsing_messages.h" 28 #include "chrome/common/safe_browsing/safebrowsing_messages.h"
29 #include "chrome/common/url_constants.h" 29 #include "chrome/common/url_constants.h"
30 #include "chrome/renderer/render_process_impl.h"
31 #include "content/common/appcache/appcache_dispatcher.h" 30 #include "content/common/appcache/appcache_dispatcher.h"
32 #include "content/common/database_messages.h" 31 #include "content/common/database_messages.h"
33 #include "content/common/db_message_filter.h" 32 #include "content/common/db_message_filter.h"
34 #include "content/common/dom_storage_messages.h" 33 #include "content/common/dom_storage_messages.h"
35 #include "content/common/gpu_messages.h" 34 #include "content/common/gpu_messages.h"
36 #include "content/common/plugin_messages.h" 35 #include "content/common/plugin_messages.h"
37 #include "content/common/renderer_preferences.h" 36 #include "content/common/renderer_preferences.h"
38 #include "content/common/resource_messages.h" 37 #include "content/common/resource_messages.h"
39 #include "content/common/view_messages.h" 38 #include "content/common/view_messages.h"
40 #include "content/common/web_database_observer_impl.h" 39 #include "content/common/web_database_observer_impl.h"
41 #include "content/plugin/npobject_util.h" 40 #include "content/plugin/npobject_util.h"
42 #include "content/renderer/content_renderer_client.h" 41 #include "content/renderer/content_renderer_client.h"
43 #include "content/renderer/cookie_message_filter.h" 42 #include "content/renderer/cookie_message_filter.h"
44 #include "content/renderer/gpu_channel_host.h" 43 #include "content/renderer/gpu_channel_host.h"
45 #include "content/renderer/gpu_video_service_host.h" 44 #include "content/renderer/gpu_video_service_host.h"
46 #include "content/renderer/indexed_db_dispatcher.h" 45 #include "content/renderer/indexed_db_dispatcher.h"
47 #include "content/renderer/plugin_channel_host.h" 46 #include "content/renderer/plugin_channel_host.h"
47 #include "content/renderer/render_process_impl.h"
48 #include "content/renderer/render_process_observer.h" 48 #include "content/renderer/render_process_observer.h"
49 #include "content/renderer/render_view.h" 49 #include "content/renderer/render_view.h"
50 #include "content/renderer/render_view_visitor.h" 50 #include "content/renderer/render_view_visitor.h"
51 #include "content/renderer/renderer_webidbfactory_impl.h" 51 #include "content/renderer/renderer_webidbfactory_impl.h"
52 #include "content/renderer/renderer_webkitclient_impl.h" 52 #include "content/renderer/renderer_webkitclient_impl.h"
53 #include "ipc/ipc_channel_handle.h" 53 #include "ipc/ipc_channel_handle.h"
54 #include "ipc/ipc_platform_file.h" 54 #include "ipc/ipc_platform_file.h"
55 #include "net/base/net_errors.h" 55 #include "net/base/net_errors.h"
56 #include "net/base/net_util.h" 56 #include "net/base/net_util.h"
57 #include "third_party/sqlite/sqlite3.h" 57 #include "third_party/sqlite/sqlite3.h"
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 return true; 858 return true;
859 } 859 }
860 860
861 return false; 861 return false;
862 } 862 }
863 863
864 void RenderThread::RegisterExtension(v8::Extension* extension) { 864 void RenderThread::RegisterExtension(v8::Extension* extension) {
865 WebScriptController::registerExtension(extension); 865 WebScriptController::registerExtension(extension);
866 v8_extensions_.insert(extension->name()); 866 v8_extensions_.insert(extension->name());
867 } 867 }
OLDNEW
« no previous file with comments | « content/renderer/render_process_unittest.cc ('k') | content/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698