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

Unified Diff: chrome/browser/extensions/convert_user_script_unittest.cc

Issue 12578008: Move CrxFile, FileReader, ExtensionResource to src/extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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
« no previous file with comments | « chrome/browser/extensions/convert_user_script.cc ('k') | chrome/browser/extensions/convert_web_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/convert_user_script_unittest.cc
diff --git a/chrome/browser/extensions/convert_user_script_unittest.cc b/chrome/browser/extensions/convert_user_script_unittest.cc
index e87cb1f6dad24a61ba7a689d06f680ab6c312236..99859095418a75804d553c10f1a85a0eef774984 100644
--- a/chrome/browser/extensions/convert_user_script_unittest.cc
+++ b/chrome/browser/extensions/convert_user_script_unittest.cc
@@ -14,6 +14,7 @@
#include "chrome/browser/extensions/convert_user_script.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/extensions/extension.h"
+#include "extensions/common/constants.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
@@ -74,7 +75,7 @@ TEST(ExtensionFromUserScript, Basic) {
EXPECT_TRUE(file_util::PathExists(
extension->path().Append(script.js_scripts()[0].relative_path())));
EXPECT_TRUE(file_util::PathExists(
- extension->path().Append(Extension::kManifestFilename)));
+ extension->path().Append(kManifestFilename)));
}
TEST(ExtensionFromUserScript, NoMetdata) {
@@ -120,7 +121,7 @@ TEST(ExtensionFromUserScript, NoMetdata) {
EXPECT_TRUE(file_util::PathExists(
extension->path().Append(script.js_scripts()[0].relative_path())));
EXPECT_TRUE(file_util::PathExists(
- extension->path().Append(Extension::kManifestFilename)));
+ extension->path().Append(kManifestFilename)));
}
TEST(ExtensionFromUserScript, NotUTF8) {
« no previous file with comments | « chrome/browser/extensions/convert_user_script.cc ('k') | chrome/browser/extensions/convert_web_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698