OLD | NEW |
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> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 #include "content/renderer/plugin_channel_host.h" | 50 #include "content/renderer/plugin_channel_host.h" |
51 #include "content/renderer/render_process_impl.h" | 51 #include "content/renderer/render_process_impl.h" |
52 #include "content/renderer/render_view_impl.h" | 52 #include "content/renderer/render_view_impl.h" |
53 #include "content/renderer/renderer_webidbfactory_impl.h" | 53 #include "content/renderer/renderer_webidbfactory_impl.h" |
54 #include "content/renderer/renderer_webkitplatformsupport_impl.h" | 54 #include "content/renderer/renderer_webkitplatformsupport_impl.h" |
55 #include "ipc/ipc_channel_handle.h" | 55 #include "ipc/ipc_channel_handle.h" |
56 #include "ipc/ipc_platform_file.h" | 56 #include "ipc/ipc_platform_file.h" |
57 #include "net/base/net_errors.h" | 57 #include "net/base/net_errors.h" |
58 #include "net/base/net_util.h" | 58 #include "net/base/net_util.h" |
59 #include "third_party/tcmalloc/chromium/src/google/malloc_extension.h" | 59 #include "third_party/tcmalloc/chromium/src/google/malloc_extension.h" |
60 #include "third_party/WebKit/Source/WebKit/chromium/public/WebColor.h" | 60 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebColor.h" |
61 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositor.h" | 61 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositor.h" |
62 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabase.h" | 62 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabase.h" |
63 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 63 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
64 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 64 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
65 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 65 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
66 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNetworkStateNotifi
er.h" | 66 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNetworkStateNotifi
er.h" |
67 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenu.h" | 67 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenu.h" |
68 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" | 68 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" |
69 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptController.h
" | 69 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptController.h
" |
70 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageEventDispat
cher.h" | 70 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageEventDispat
cher.h" |
71 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 71 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
72 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 72 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
73 #include "ui/base/ui_base_switches.h" | 73 #include "ui/base/ui_base_switches.h" |
74 #include "v8/include/v8.h" | 74 #include "v8/include/v8.h" |
75 #include "webkit/extensions/v8/playback_extension.h" | 75 #include "webkit/extensions/v8/playback_extension.h" |
76 #include "webkit/glue/webkit_glue.h" | 76 #include "webkit/glue/webkit_glue.h" |
77 | 77 |
78 // TODO(port) | 78 // TODO(port) |
79 #if !defined(OS_WIN) | 79 #if !defined(OS_WIN) |
80 #include "base/memory/scoped_handle.h" | 80 #include "base/memory/scoped_handle.h" |
81 #include "content/common/np_channel_base.h" | 81 #include "content/common/np_channel_base.h" |
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
857 | 857 |
858 scoped_refptr<base::MessageLoopProxy> | 858 scoped_refptr<base::MessageLoopProxy> |
859 RenderThreadImpl::GetFileThreadMessageLoopProxy() { | 859 RenderThreadImpl::GetFileThreadMessageLoopProxy() { |
860 DCHECK(message_loop() == MessageLoop::current()); | 860 DCHECK(message_loop() == MessageLoop::current()); |
861 if (!file_thread_.get()) { | 861 if (!file_thread_.get()) { |
862 file_thread_.reset(new base::Thread("Renderer::FILE")); | 862 file_thread_.reset(new base::Thread("Renderer::FILE")); |
863 file_thread_->Start(); | 863 file_thread_->Start(); |
864 } | 864 } |
865 return file_thread_->message_loop_proxy(); | 865 return file_thread_->message_loop_proxy(); |
866 } | 866 } |
OLD | NEW |