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

Side by Side Diff: gin/arguments.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 | « no previous file | gin/array_buffer.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 #ifndef GIN_ARGUMENTS_H_ 5 #ifndef GIN_ARGUMENTS_H_
6 #define GIN_ARGUMENTS_H_ 6 #define GIN_ARGUMENTS_H_
7 7
8 #include "base/basictypes.h"
9 #include "gin/converter.h" 8 #include "gin/converter.h"
10 #include "gin/gin_export.h" 9 #include "gin/gin_export.h"
11 10
12 namespace gin { 11 namespace gin {
13 12
14 // Arguments is a wrapper around v8::FunctionCallbackInfo that integrates 13 // Arguments is a wrapper around v8::FunctionCallbackInfo that integrates
15 // with Converter to make it easier to marshall arguments and return values 14 // with Converter to make it easier to marshall arguments and return values
16 // between V8 and C++. 15 // between V8 and C++.
17 class GIN_EXPORT Arguments { 16 class GIN_EXPORT Arguments {
18 public: 17 public:
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 private: 90 private:
92 v8::Isolate* isolate_; 91 v8::Isolate* isolate_;
93 const v8::FunctionCallbackInfo<v8::Value>* info_; 92 const v8::FunctionCallbackInfo<v8::Value>* info_;
94 int next_; 93 int next_;
95 bool insufficient_arguments_; 94 bool insufficient_arguments_;
96 }; 95 };
97 96
98 } // namespace gin 97 } // namespace gin
99 98
100 #endif // GIN_ARGUMENTS_H_ 99 #endif // GIN_ARGUMENTS_H_
OLDNEW
« no previous file with comments | « no previous file | gin/array_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698