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

Unified Diff: chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc

Issue 12042096: Move page action manifest parsing out of Extension; the first multi-key manifest handler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/common/extensions/manifest_tests/extension_manifests_background_unittest.cc
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc
index 07551ec38a070e9a178ac2c86547129a234fe7d5..39940edd6e8b996e65af890e648ae2c3439db14c 100644
--- a/chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc
@@ -27,7 +27,7 @@ TEST_F(ExtensionManifestTest, BackgroundPermission) {
TEST_F(ExtensionManifestTest, BackgroundScripts) {
std::string error;
scoped_ptr<DictionaryValue> manifest(
- LoadManifestFile("background_scripts.json", &error));
+ LoadManifest("background_scripts.json", &error));
ASSERT_TRUE(manifest.get());
scoped_refptr<Extension> extension(
@@ -56,7 +56,7 @@ TEST_F(ExtensionManifestTest, BackgroundPage) {
std::string error;
scoped_ptr<DictionaryValue> manifest(
- LoadManifestFile("background_page_legacy.json", &error));
+ LoadManifest("background_page_legacy.json", &error));
ASSERT_TRUE(manifest.get());
extension = LoadAndExpectSuccess(Manifest(manifest.get(), ""));
ASSERT_TRUE(extension);
@@ -87,7 +87,7 @@ TEST_F(ExtensionManifestTest, BackgroundPageWebRequest) {
std::string error;
scoped_ptr<DictionaryValue> manifest(
- LoadManifestFile("background_page.json", &error));
+ LoadManifest("background_page.json", &error));
ASSERT_TRUE(manifest.get());
manifest->SetBoolean(keys::kBackgroundPersistent, false);
manifest->SetInteger(keys::kManifestVersion, 2);

Powered by Google App Engine
This is Rietveld 408576698