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

Side by Side Diff: ppapi/cpp/var.h

Issue 8826011: Remove PP_Module from parameters for PPB_Var.VarFromUtf8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix indentation. Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 PPAPI_CPP_VAR_H_ 5 #ifndef PPAPI_CPP_VAR_H_
6 #define PPAPI_CPP_VAR_H_ 6 #define PPAPI_CPP_VAR_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "ppapi/c/pp_module.h"
12 #include "ppapi/c/pp_var.h" 11 #include "ppapi/c/pp_var.h"
13 12
14 13
15 /// @file 14 /// @file
16 /// This file defines the API for handling the passing of data types between 15 /// This file defines the API for handling the passing of data types between
17 /// your module and the page. 16 /// your module and the page.
18 namespace pp { 17 namespace pp {
19 18
20 /// A generic type used for passing data types between the module and the page. 19 /// A generic type used for passing data types between the module and the page.
21 class Var { 20 class Var {
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 private: 288 private:
290 // Prevent an arbitrary pointer argument from being implicitly converted to 289 // Prevent an arbitrary pointer argument from being implicitly converted to
291 // a bool at Var construction. If somebody makes such a mistake, (s)he will 290 // a bool at Var construction. If somebody makes such a mistake, (s)he will
292 // get a compilation error. 291 // get a compilation error.
293 Var(void* non_scriptable_object_pointer); 292 Var(void* non_scriptable_object_pointer);
294 }; 293 };
295 294
296 } // namespace pp 295 } // namespace pp
297 296
298 #endif // PPAPI_CPP_VAR_H_ 297 #endif // PPAPI_CPP_VAR_H_
OLDNEW
« no previous file with comments | « ppapi/c/ppb_var.h ('k') | ppapi/cpp/var.cc » ('j') | ppapi/cpp/var.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698