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

Side by Side Diff: gin/isolate_holder.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "gin/public/isolate_holder.h" 5 #include "gin/public/isolate_holder.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <string.h> 9 #include <string.h>
10 10
11 #include <memory> 11 #include <memory>
12 #include <utility> 12 #include <utility>
13 13
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "base/single_thread_task_runner.h"
16 #include "base/sys_info.h" 17 #include "base/sys_info.h"
17 #include "gin/debug_impl.h" 18 #include "gin/debug_impl.h"
18 #include "gin/function_template.h" 19 #include "gin/function_template.h"
19 #include "gin/per_isolate_data.h" 20 #include "gin/per_isolate_data.h"
20 #include "gin/run_microtasks_observer.h" 21 #include "gin/run_microtasks_observer.h"
21 #include "gin/v8_initializer.h" 22 #include "gin/v8_initializer.h"
22 #include "gin/v8_isolate_memory_dump_provider.h" 23 #include "gin/v8_isolate_memory_dump_provider.h"
23 24
24 namespace gin { 25 namespace gin {
25 26
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 task_observer_.reset(); 109 task_observer_.reset();
109 } 110 }
110 111
111 void IsolateHolder::EnableIdleTasks( 112 void IsolateHolder::EnableIdleTasks(
112 std::unique_ptr<V8IdleTaskRunner> idle_task_runner) { 113 std::unique_ptr<V8IdleTaskRunner> idle_task_runner) {
113 DCHECK(isolate_data_.get()); 114 DCHECK(isolate_data_.get());
114 isolate_data_->EnableIdleTasks(std::move(idle_task_runner)); 115 isolate_data_->EnableIdleTasks(std::move(idle_task_runner));
115 } 116 }
116 117
117 } // namespace gin 118 } // namespace gin
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_url_request_context_getter.h ('k') | gpu/ipc/client/gpu_channel_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698