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

Side by Side Diff: content/renderer/pepper/v8_var_converter.h

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 CONTENT_RENDERER_PEPPER_V8_VAR_CONVERTER_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_V8_VAR_CONVERTER_H_
6 #define CONTENT_RENDERER_PEPPER_V8_VAR_CONVERTER_H_ 6 #define CONTENT_RENDERER_PEPPER_V8_VAR_CONVERTER_H_
7 7
8 #include "base/basictypes.h"
9 #include "base/callback.h" 8 #include "base/callback.h"
10 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/macros.h"
11 #include "content/common/content_export.h"
11 #include "ppapi/c/pp_instance.h" 12 #include "ppapi/c/pp_instance.h"
12 #include "ppapi/c/pp_var.h" 13 #include "ppapi/c/pp_var.h"
13 #include "ppapi/shared_impl/scoped_pp_var.h" 14 #include "ppapi/shared_impl/scoped_pp_var.h"
14 #include "v8/include/v8.h" 15 #include "v8/include/v8.h"
15 #include "content/common/content_export.h"
16 16
17 namespace content { 17 namespace content {
18 18
19 class ResourceConverter; 19 class ResourceConverter;
20 20
21 class CONTENT_EXPORT V8VarConverter { 21 class CONTENT_EXPORT V8VarConverter {
22 public: 22 public:
23 // Whether or not to allow converting object vars. If they are not allowed 23 // Whether or not to allow converting object vars. If they are not allowed
24 // and they are passed in, conversion will fail. 24 // and they are passed in, conversion will fail.
25 enum AllowObjectVars { 25 enum AllowObjectVars {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 // The converter to use for converting V8 vars to resources. 85 // The converter to use for converting V8 vars to resources.
86 scoped_ptr<ResourceConverter> resource_converter_; 86 scoped_ptr<ResourceConverter> resource_converter_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(V8VarConverter); 88 DISALLOW_COPY_AND_ASSIGN(V8VarConverter);
89 }; 89 };
90 90
91 } // namespace content 91 } // namespace content
92 92
93 #endif // CONTENT_RENDERER_PEPPER_V8_VAR_CONVERTER_H_ 93 #endif // CONTENT_RENDERER_PEPPER_V8_VAR_CONVERTER_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/url_response_info_util.cc ('k') | content/renderer/pepper/v8_var_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698