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

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

Issue 9837054: Improve WebstoreInstaller error handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « no previous file | chrome/browser/extensions/webstore_installer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_webstore_private_apitest.cc
diff --git a/chrome/browser/extensions/extension_webstore_private_apitest.cc b/chrome/browser/extensions/extension_webstore_private_apitest.cc
index 2fb2b4572ee4a95d213eb9d94ab588b72487c3a3..648943518ad01e3ec7c802f8dd81079a2e346659 100644
--- a/chrome/browser/extensions/extension_webstore_private_apitest.cc
+++ b/chrome/browser/extensions/extension_webstore_private_apitest.cc
@@ -351,7 +351,6 @@ IN_PROC_BROWSER_TEST_F(ExtensionWebstorePrivateBundleTest,
PackInvalidCRX("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa");
PackCRX("bmfoocgfinpmkmlbjhcbofejhkhlbchk", "extension1.json");
- PackCRX("pkapffpjmiilhlhbibjhamlmdhfneidj", "extension2.json");
PackCRX("begfmnajjkbjdgmffnjaojchoncnmngg", "app1.json");
ASSERT_TRUE(RunPageTest(GetTestServerURL(
@@ -359,8 +358,8 @@ IN_PROC_BROWSER_TEST_F(ExtensionWebstorePrivateBundleTest,
ASSERT_TRUE(service()->GetExtensionById(
"begfmnajjkbjdgmffnjaojchoncnmngg", false));
- ASSERT_TRUE(service()->GetExtensionById(
- "pkapffpjmiilhlhbibjhamlmdhfneidj", false));
+ ASSERT_FALSE(service()->GetExtensionById(
+ "pkapffpjmiilhlhbibjhamlmdhfneidj", true));
ASSERT_FALSE(service()->GetExtensionById(
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", true));
ASSERT_FALSE(service()->GetExtensionById(
« no previous file with comments | « no previous file | chrome/browser/extensions/webstore_installer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698