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

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

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/shared_memory.h" 19 #include "base/shared_memory.h"
20 #include "base/string_number_conversions.h" // Temporary 20 #include "base/string_number_conversions.h" // Temporary
21 #include "base/task.h"
22 #include "base/threading/thread_local.h" 21 #include "base/threading/thread_local.h"
23 #include "base/values.h" 22 #include "base/values.h"
24 #include "base/win/scoped_com_initializer.h" 23 #include "base/win/scoped_com_initializer.h"
25 #include "content/common/appcache/appcache_dispatcher.h" 24 #include "content/common/appcache/appcache_dispatcher.h"
26 #include "content/common/child_process_messages.h" 25 #include "content/common/child_process_messages.h"
27 #include "content/common/database_messages.h" 26 #include "content/common/database_messages.h"
28 #include "content/common/db_message_filter.h" 27 #include "content/common/db_message_filter.h"
29 #include "content/common/dom_storage_messages.h" 28 #include "content/common/dom_storage_messages.h"
30 #include "content/common/gpu/gpu_messages.h" 29 #include "content/common/gpu/gpu_messages.h"
31 #include "content/common/npobject_util.h" 30 #include "content/common/npobject_util.h"
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 846
848 scoped_refptr<base::MessageLoopProxy> 847 scoped_refptr<base::MessageLoopProxy>
849 RenderThreadImpl::GetFileThreadMessageLoopProxy() { 848 RenderThreadImpl::GetFileThreadMessageLoopProxy() {
850 DCHECK(message_loop() == MessageLoop::current()); 849 DCHECK(message_loop() == MessageLoop::current());
851 if (!file_thread_.get()) { 850 if (!file_thread_.get()) {
852 file_thread_.reset(new base::Thread("Renderer::FILE")); 851 file_thread_.reset(new base::Thread("Renderer::FILE"));
853 file_thread_->Start(); 852 file_thread_->Start();
854 } 853 }
855 return file_thread_->message_loop_proxy(); 854 return file_thread_->message_loop_proxy();
856 } 855 }
OLDNEW
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.cc ('k') | gpu/command_buffer/service/command_buffer_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698