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

Unified Diff: content/renderer/cpp_variant_unittest.cc

Issue 25378002: Move the rest of source files from webkit/renderer to content/renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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: content/renderer/cpp_variant_unittest.cc
diff --git a/webkit/renderer/cpp_variant_unittest.cc b/content/renderer/cpp_variant_unittest.cc
similarity index 99%
rename from webkit/renderer/cpp_variant_unittest.cc
rename to content/renderer/cpp_variant_unittest.cc
index 1f2d3fe8d3e1837de83d4bc99c4fed093d8c28ea..8a4afca4c14160e2c5df2555af0d1cf350c12266 100644
--- a/webkit/renderer/cpp_variant_unittest.cc
+++ b/content/renderer/cpp_variant_unittest.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "content/renderer/cpp_variant.h"
+
#include <vector>
#include "base/compiler_specific.h"
@@ -9,10 +11,10 @@
#include "base/strings/string_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/WebKit/public/web/WebBindings.h"
-#include "webkit/renderer/cpp_variant.h"
using WebKit::WebBindings;
-using webkit_glue::CppVariant;
+
+namespace content {
// Creates a std::string from an NPVariant of string type. If the NPVariant
// is not a string, empties the std::string.
@@ -512,3 +514,5 @@ TEST_F(CppVariantTest, ToVector) {
WebBindings::releaseObject(obj);
}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698