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

Unified Diff: webkit/glue/cpp_variant.h

Issue 10382059: Quote CppBoundClass/CppVariant in namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (C) 2012 Created 8 years, 7 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 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 25cbe6ff623d0328e4d6322f1edfb52a1fe767b6..bcd98e6d221681bf66e584a089722095a87027ba 100644
--- a/webkit/glue/cpp_variant.h
+++ b/webkit/glue/cpp_variant.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -25,6 +25,8 @@
#include "third_party/npapi/bindings/npruntime.h"
#include "webkit/glue/webkit_glue_export.h"
+namespace webkit_glue {
+
class WEBKIT_GLUE_EXPORT CppVariant : public NPVariant {
public:
CppVariant();
@@ -109,4 +111,10 @@ class WEBKIT_GLUE_EXPORT CppVariant : public NPVariant {
uint32 arg_count, CppVariant& result) const;
};
+} // namespace webkit_glue
+
+// TODO(wangxianzhu): This is temporary to resolve crbug.com/127238 with minimal
+// code change. Eventually we will replace CppBoundClass/CppVariant with V8 API.
+using webkit_glue::CppVariant;
+
#endif // WEBKIT_GLUE_CPP_VARIANT_H__

Powered by Google App Engine
This is Rietveld 408576698