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

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

Issue 19547009: Move ".crx"/".pem" constants and extension_filenames constants into extensions/common/constants.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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: chrome/browser/extensions/sandboxed_unpacker_unittest.cc
diff --git a/chrome/browser/extensions/sandboxed_unpacker_unittest.cc b/chrome/browser/extensions/sandboxed_unpacker_unittest.cc
index 55fe555191d2f55303d6a5e7bd1296faf1f22cf7..dc1e481ae5ed257bb28ed4e42b0c87d3ba55b3a3 100644
--- a/chrome/browser/extensions/sandboxed_unpacker_unittest.cc
+++ b/chrome/browser/extensions/sandboxed_unpacker_unittest.cc
@@ -97,8 +97,7 @@ class SandboxedUnpackerTest : public testing::Test {
}
base::FilePath GetInstallPath() {
- return client_->temp_dir().AppendASCII(
- extension_filenames::kTempExtensionName);
+ return client_->temp_dir().AppendASCII(filenames::kTempExtensionName);
}
protected:
@@ -112,7 +111,7 @@ TEST_F(SandboxedUnpackerTest, NoCatalogsSuccess) {
SetupUnpacker("no_l10n.crx");
// Check that there is no _locales folder.
base::FilePath install_path =
- GetInstallPath().Append(kLocaleFolder);
+ GetInstallPath().Append(filenames::kLocaleFolder);
EXPECT_FALSE(base::PathExists(install_path));
}
@@ -120,7 +119,7 @@ TEST_F(SandboxedUnpackerTest, WithCatalogsSuccess) {
SetupUnpacker("good_l10n.crx");
// Check that there is _locales folder.
base::FilePath install_path =
- GetInstallPath().Append(kLocaleFolder);
+ GetInstallPath().Append(filenames::kLocaleFolder);
EXPECT_TRUE(base::PathExists(install_path));
}

Powered by Google App Engine
This is Rietveld 408576698