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

Unified Diff: extensions/common/extension_set_unittest.cc

Issue 102103005: Move c/c/e/extension_set to top-level extensions/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 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
« no previous file with comments | « extensions/common/extension_set.cc ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension_set_unittest.cc
diff --git a/chrome/common/extensions/extension_set_unittest.cc b/extensions/common/extension_set_unittest.cc
similarity index 96%
rename from chrome/common/extensions/extension_set_unittest.cc
rename to extensions/common/extension_set_unittest.cc
index 2be19ca9892661f1ad605417f6e00f53391e482f..eef384a6043b4c92d9dca64065e157fa79388b07 100644
--- a/chrome/common/extensions/extension_set_unittest.cc
+++ b/extensions/common/extension_set_unittest.cc
@@ -7,11 +7,11 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/values.h"
-#include "chrome/common/extensions/extension_set.h"
#include "extensions/common/extension.h"
+#include "extensions/common/extension_set.h"
#include "testing/gtest/include/gtest/gtest.h"
-using extensions::Extension;
+namespace extensions {
namespace {
@@ -40,7 +40,7 @@ scoped_refptr<Extension> CreateTestExtension(const std::string& name,
std::string error;
scoped_refptr<Extension> extension(
- Extension::Create(path, extensions::Manifest::INTERNAL, manifest,
+ Extension::Create(path, Manifest::INTERNAL, manifest,
Extension::NO_FLAGS, &error));
EXPECT_TRUE(extension.get()) << error;
return extension;
@@ -138,3 +138,5 @@ TEST(ExtensionSetTest, ExtensionSet) {
ASSERT_FALSE(extensions.InsertAll(*to_add)); // Re-adding same set no-ops.
EXPECT_EQ(4u, extensions.size());
}
+
+} // namespace extensions
« no previous file with comments | « extensions/common/extension_set.cc ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698