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

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

Issue 8980002: Move indexeddb code to its own directory inside of content/{browser,common,renderer} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto ToT Created 9 years 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) 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 24 matching lines...) Expand all
35 #include "content/common/view_messages.h" 35 #include "content/common/view_messages.h"
36 #include "content/common/web_database_observer_impl.h" 36 #include "content/common/web_database_observer_impl.h"
37 #include "content/public/common/content_switches.h" 37 #include "content/public/common/content_switches.h"
38 #include "content/public/common/renderer_preferences.h" 38 #include "content/public/common/renderer_preferences.h"
39 #include "content/public/renderer/content_renderer_client.h" 39 #include "content/public/renderer/content_renderer_client.h"
40 #include "content/public/renderer/render_process_observer.h" 40 #include "content/public/renderer/render_process_observer.h"
41 #include "content/public/renderer/render_view_visitor.h" 41 #include "content/public/renderer/render_view_visitor.h"
42 #include "content/renderer/devtools_agent_filter.h" 42 #include "content/renderer/devtools_agent_filter.h"
43 #include "content/renderer/gpu/compositor_thread.h" 43 #include "content/renderer/gpu/compositor_thread.h"
44 #include "content/renderer/gpu/gpu_channel_host.h" 44 #include "content/renderer/gpu/gpu_channel_host.h"
45 #include "content/renderer/indexed_db_dispatcher.h" 45 #include "content/renderer/indexed_db/indexed_db_dispatcher.h"
46 #include "content/renderer/indexed_db_message_filter.h" 46 #include "content/renderer/indexed_db/indexed_db_message_filter.h"
47 #include "content/renderer/indexed_db/renderer_webidbfactory_impl.h"
47 #include "content/renderer/media/audio_input_message_filter.h" 48 #include "content/renderer/media/audio_input_message_filter.h"
48 #include "content/renderer/media/audio_message_filter.h" 49 #include "content/renderer/media/audio_message_filter.h"
49 #include "content/renderer/media/video_capture_impl_manager.h" 50 #include "content/renderer/media/video_capture_impl_manager.h"
50 #include "content/renderer/media/video_capture_message_filter.h" 51 #include "content/renderer/media/video_capture_message_filter.h"
51 #include "content/renderer/plugin_channel_host.h" 52 #include "content/renderer/plugin_channel_host.h"
52 #include "content/renderer/render_process_impl.h" 53 #include "content/renderer/render_process_impl.h"
53 #include "content/renderer/render_view_impl.h" 54 #include "content/renderer/render_view_impl.h"
54 #include "content/renderer/renderer_webidbfactory_impl.h"
55 #include "content/renderer/renderer_webkitplatformsupport_impl.h" 55 #include "content/renderer/renderer_webkitplatformsupport_impl.h"
56 #include "ipc/ipc_channel_handle.h" 56 #include "ipc/ipc_channel_handle.h"
57 #include "ipc/ipc_platform_file.h" 57 #include "ipc/ipc_platform_file.h"
58 #include "net/base/net_errors.h" 58 #include "net/base/net_errors.h"
59 #include "net/base/net_util.h" 59 #include "net/base/net_util.h"
60 #include "third_party/tcmalloc/chromium/src/google/malloc_extension.h" 60 #include "third_party/tcmalloc/chromium/src/google/malloc_extension.h"
61 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebColor.h" 61 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebColor.h"
62 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositor.h" 62 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositor.h"
63 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabase.h" 63 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabase.h"
64 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 64 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
(...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 846
847 scoped_refptr<base::MessageLoopProxy> 847 scoped_refptr<base::MessageLoopProxy>
848 RenderThreadImpl::GetFileThreadMessageLoopProxy() { 848 RenderThreadImpl::GetFileThreadMessageLoopProxy() {
849 DCHECK(message_loop() == MessageLoop::current()); 849 DCHECK(message_loop() == MessageLoop::current());
850 if (!file_thread_.get()) { 850 if (!file_thread_.get()) {
851 file_thread_.reset(new base::Thread("Renderer::FILE")); 851 file_thread_.reset(new base::Thread("Renderer::FILE"));
852 file_thread_->Start(); 852 file_thread_->Start();
853 } 853 }
854 return file_thread_->message_loop_proxy(); 854 return file_thread_->message_loop_proxy();
855 } 855 }
OLDNEW
« no previous file with comments | « content/renderer/indexed_db_message_filter.cc ('k') | content/renderer/renderer_webidbcursor_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698