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

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, 10 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 d929169e2dd1dd4e67b735aea05db2b95407d995..2913f72edaba9e426bea0bc96ae2fca303aaed2c 100644
--- a/chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc
@@ -28,7 +28,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(
@@ -57,7 +57,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);
@@ -88,7 +88,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