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

Unified Diff: webkit/glue/cpp_variant.h

Issue 5631002: wstrings: convert CppVariant and CppBoundClass to not use wstring (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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 side-by-side diff with in-line comments
Download patch
Index: webkit/glue/cpp_variant.h
diff --git a/webkit/glue/cpp_variant.h b/webkit/glue/cpp_variant.h
index 71b3166f89a9df3b30a382fefa670256d60d3393..82c43eec908629dbb3372c08b3120ce58f9ea3b0 100644
--- a/webkit/glue/cpp_variant.h
+++ b/webkit/glue/cpp_variant.h
@@ -22,6 +22,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/string16.h"
viettrungluu 2010/12/03 02:00:16 Why do you need this?
#include "third_party/npapi/bindings/npruntime.h"
class CppVariant : public NPVariant {
@@ -96,7 +97,7 @@ class CppVariant : public NPVariant {
bool ToBoolean() const;
// Returns a vector of strings for the specified argument. This is useful
// for converting a JavaScript array of strings into a vector of strings.
- std::vector<std::wstring> ToStringVector() const;
+ std::vector<std::string> ToStringVector() const;
viettrungluu 2010/12/03 02:00:16 This sort of thing always worries me, since JS str
// Invoke method of the given name on an object with the supplied arguments.
// The first argument should be the object on which the method is to be

Powered by Google App Engine
This is Rietveld 408576698