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

Side by Side Diff: gin/converter.h

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/array_buffer.cc ('k') | gin/converter.cc » ('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 #ifndef GIN_CONVERTER_H_ 5 #ifndef GIN_CONVERTER_H_
6 #define GIN_CONVERTER_H_ 6 #define GIN_CONVERTER_H_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/logging.h" 13 #include "base/logging.h"
12 #include "base/strings/string_piece.h" 14 #include "base/strings/string_piece.h"
13 #include "gin/gin_export.h" 15 #include "gin/gin_export.h"
14 #include "v8/include/v8.h" 16 #include "v8/include/v8.h"
15 17
16 namespace gin { 18 namespace gin {
17 19
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 bool ConvertFromV8(v8::Isolate* isolate, v8::Local<v8::Value> input, 263 bool ConvertFromV8(v8::Isolate* isolate, v8::Local<v8::Value> input,
262 T* result) { 264 T* result) {
263 return Converter<T>::FromV8(isolate, input, result); 265 return Converter<T>::FromV8(isolate, input, result);
264 } 266 }
265 267
266 GIN_EXPORT std::string V8ToString(v8::Local<v8::Value> value); 268 GIN_EXPORT std::string V8ToString(v8::Local<v8::Value> value);
267 269
268 } // namespace gin 270 } // namespace gin
269 271
270 #endif // GIN_CONVERTER_H_ 272 #endif // GIN_CONVERTER_H_
OLDNEW
« no previous file with comments | « gin/array_buffer.cc ('k') | gin/converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698