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

Unified Diff: webkit/glue/cpp_binding_example.cc

Issue 10382059: Quote CppBoundClass/CppVariant in namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a long line 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_binding_example.cc
diff --git a/webkit/glue/cpp_binding_example.cc b/webkit/glue/cpp_binding_example.cc
index 678151a4b131abcbe80f5f58ac5a267c1f834be2..7db5c5fdb78a3fe4fb8b7589fa8a74f8791a4241 100644
--- a/webkit/glue/cpp_binding_example.cc
+++ b/webkit/glue/cpp_binding_example.cc
@@ -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.
@@ -10,6 +10,8 @@
#include "base/bind.h"
#include "base/bind_helpers.h"
+namespace webkit_glue {
tony 2012/05/08 20:52:26 Nit: Please move this after the anonymous namespac
Xianzhu 2012/05/09 16:38:24 I put it here to avoid webkit_glue:: prefixes in t
+
namespace {
class PropertyCallbackExample : public CppBoundClass::PropertyCallback {
@@ -129,3 +131,5 @@ void CppBindingExample::fallbackMethod(const CppArgumentList& args,
CppVariant* result) {
printf("Error: unknown JavaScript method invoked.\n");
}
+
+} // namespace webkit_glue

Powered by Google App Engine
This is Rietveld 408576698