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

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

Issue 6672057: Move all the message files in chrome that belong in content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/renderer/render_thread.h" 5 #include "chrome/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/stats_table.h" 17 #include "base/metrics/stats_table.h"
18 #include "base/process_util.h" 18 #include "base/process_util.h"
19 #include "base/shared_memory.h" 19 #include "base/shared_memory.h"
20 #include "base/string_util.h" 20 #include "base/string_util.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/utf_string_conversions.h" 23 #include "base/utf_string_conversions.h"
24 #include "base/values.h" 24 #include "base/values.h"
25 #include "chrome/common/child_process_logging.h" 25 #include "chrome/common/child_process_logging.h"
26 #include "chrome/common/chrome_switches.h" 26 #include "chrome/common/chrome_switches.h"
27 #include "chrome/common/dom_storage_messages.h"
28 #include "chrome/common/extensions/extension.h" 27 #include "chrome/common/extensions/extension.h"
29 #include "chrome/common/extensions/extension_localization_peer.h" 28 #include "chrome/common/extensions/extension_localization_peer.h"
30 #include "chrome/common/extensions/extension_set.h" 29 #include "chrome/common/extensions/extension_set.h"
31 #include "chrome/common/render_messages.h" 30 #include "chrome/common/render_messages.h"
32 #include "chrome/common/render_messages_params.h" 31 #include "chrome/common/render_messages_params.h"
33 #include "chrome/common/renderer_preferences.h" 32 #include "chrome/common/renderer_preferences.h"
34 #include "chrome/common/url_constants.h" 33 #include "chrome/common/url_constants.h"
35 #include "chrome/renderer/automation/dom_automation_v8_extension.h" 34 #include "chrome/renderer/automation/dom_automation_v8_extension.h"
36 #include "chrome/renderer/cookie_message_filter.h" 35 #include "chrome/renderer/cookie_message_filter.h"
37 #include "chrome/renderer/devtools_agent_filter.h" 36 #include "chrome/renderer/devtools_agent_filter.h"
(...skipping 18 matching lines...) Expand all
56 #include "chrome/renderer/renderer_webkitclient_impl.h" 55 #include "chrome/renderer/renderer_webkitclient_impl.h"
57 #include "chrome/renderer/safe_browsing/phishing_classifier_delegate.h" 56 #include "chrome/renderer/safe_browsing/phishing_classifier_delegate.h"
58 #include "chrome/renderer/search_extension.h" 57 #include "chrome/renderer/search_extension.h"
59 #include "chrome/renderer/searchbox_extension.h" 58 #include "chrome/renderer/searchbox_extension.h"
60 #include "chrome/renderer/security_filter_peer.h" 59 #include "chrome/renderer/security_filter_peer.h"
61 #include "chrome/renderer/spellchecker/spellcheck.h" 60 #include "chrome/renderer/spellchecker/spellcheck.h"
62 #include "chrome/renderer/user_script_slave.h" 61 #include "chrome/renderer/user_script_slave.h"
63 #include "content/common/appcache/appcache_dispatcher.h" 62 #include "content/common/appcache/appcache_dispatcher.h"
64 #include "content/common/database_messages.h" 63 #include "content/common/database_messages.h"
65 #include "content/common/db_message_filter.h" 64 #include "content/common/db_message_filter.h"
65 #include "content/common/dom_storage_messages.h"
66 #include "content/common/gpu_messages.h" 66 #include "content/common/gpu_messages.h"
67 #include "content/common/plugin_messages.h" 67 #include "content/common/plugin_messages.h"
68 #include "content/common/resource_dispatcher.h" 68 #include "content/common/resource_dispatcher.h"
69 #include "content/common/resource_messages.h" 69 #include "content/common/resource_messages.h"
70 #include "content/common/web_database_observer_impl.h" 70 #include "content/common/web_database_observer_impl.h"
71 #include "content/plugin/npobject_util.h" 71 #include "content/plugin/npobject_util.h"
72 #include "ipc/ipc_channel_handle.h" 72 #include "ipc/ipc_channel_handle.h"
73 #include "ipc/ipc_platform_file.h" 73 #include "ipc/ipc_platform_file.h"
74 #include "net/base/net_errors.h" 74 #include "net/base/net_errors.h"
75 #include "net/base/net_util.h" 75 #include "net/base/net_util.h"
(...skipping 1085 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 } 1161 }
1162 1162
1163 return false; 1163 return false;
1164 } 1164 }
1165 1165
1166 void RenderThread::RegisterExtension(v8::Extension* extension, 1166 void RenderThread::RegisterExtension(v8::Extension* extension,
1167 bool restrict_to_extensions) { 1167 bool restrict_to_extensions) {
1168 WebScriptController::registerExtension(extension); 1168 WebScriptController::registerExtension(extension);
1169 v8_extensions_[extension->name()] = restrict_to_extensions; 1169 v8_extensions_[extension->name()] = restrict_to_extensions;
1170 } 1170 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698