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

Side by Side Diff: gin/object_template_builder.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/modules/timer.h ('k') | gin/per_context_data.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/object_template_builder.h" 5 #include "gin/object_template_builder.h"
6 6
7 #include <stdint.h>
8
7 #include "gin/interceptor.h" 9 #include "gin/interceptor.h"
8 #include "gin/per_isolate_data.h" 10 #include "gin/per_isolate_data.h"
9 #include "gin/public/wrapper_info.h" 11 #include "gin/public/wrapper_info.h"
10 12
11 namespace gin { 13 namespace gin {
12 14
13 namespace { 15 namespace {
14 16
15 WrappableBase* WrappableFromV8(v8::Isolate* isolate, 17 WrappableBase* WrappableFromV8(v8::Isolate* isolate,
16 v8::Local<v8::Value> val) { 18 v8::Local<v8::Value> val) {
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 return *this; 180 return *this;
179 } 181 }
180 182
181 v8::Local<v8::ObjectTemplate> ObjectTemplateBuilder::Build() { 183 v8::Local<v8::ObjectTemplate> ObjectTemplateBuilder::Build() {
182 v8::Local<v8::ObjectTemplate> result = template_; 184 v8::Local<v8::ObjectTemplate> result = template_;
183 template_.Clear(); 185 template_.Clear();
184 return result; 186 return result;
185 } 187 }
186 188
187 } // namespace gin 189 } // namespace gin
OLDNEW
« no previous file with comments | « gin/modules/timer.h ('k') | gin/per_context_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698