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

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

Issue 10536084: Add a warning when developing an extension that uses old manifest version. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: blonk Created 8 years, 6 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_manifest_test.cc
diff --git a/chrome/common/extensions/manifest_tests/extension_manifest_test.cc b/chrome/common/extensions/manifest_tests/extension_manifest_test.cc
index d9619777ab8a32ad4981a69d77aeb5f515dfdc3b..a245cf80dfb2a2dda5652a8f68bb7efa4a8c61c8 100644
--- a/chrome/common/extensions/manifest_tests/extension_manifest_test.cc
+++ b/chrome/common/extensions/manifest_tests/extension_manifest_test.cc
@@ -127,7 +127,7 @@ scoped_refptr<Extension> ExtensionManifestTest::LoadAndExpectWarning(
EXPECT_TRUE(extension) << manifest.name();
EXPECT_EQ("", error) << manifest.name();
EXPECT_EQ(1u, extension->install_warnings().size());
- EXPECT_EQ(expected_warning, extension->install_warnings()[0]);
+ EXPECT_EQ(expected_warning, extension->install_warnings()[0].message);
return extension;
}

Powered by Google App Engine
This is Rietveld 408576698