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

Side by Side Diff: gin/isolate_holder.cc

Issue 1541743002: Switch to standard integer types in gin/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « gin/interceptor_unittest.cc ('k') | gin/modules/file_module_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stdlib.h> 8 #include <stdlib.h>
8 #include <string.h> 9 #include <string.h>
9 10
10 #include "base/logging.h" 11 #include "base/logging.h"
11 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
12 #include "base/sys_info.h" 13 #include "base/sys_info.h"
13 #include "gin/debug_impl.h" 14 #include "gin/debug_impl.h"
14 #include "gin/function_template.h" 15 #include "gin/function_template.h"
15 #include "gin/per_isolate_data.h" 16 #include "gin/per_isolate_data.h"
16 #include "gin/run_microtasks_observer.h" 17 #include "gin/run_microtasks_observer.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 task_observer_.reset(); 94 task_observer_.reset();
94 } 95 }
95 96
96 void IsolateHolder::EnableIdleTasks( 97 void IsolateHolder::EnableIdleTasks(
97 scoped_ptr<V8IdleTaskRunner> idle_task_runner) { 98 scoped_ptr<V8IdleTaskRunner> idle_task_runner) {
98 DCHECK(isolate_data_.get()); 99 DCHECK(isolate_data_.get());
99 isolate_data_->EnableIdleTasks(idle_task_runner.Pass()); 100 isolate_data_->EnableIdleTasks(idle_task_runner.Pass());
100 } 101 }
101 102
102 } // namespace gin 103 } // namespace gin
OLDNEW
« no previous file with comments | « gin/interceptor_unittest.cc ('k') | gin/modules/file_module_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698