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

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

Issue 13584007: Remove unused themes on clicking the reset theme button (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 3 Created 7 years, 8 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/themes/theme_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_install_ui_browsertest.cc
diff --git a/chrome/browser/extensions/extension_install_ui_browsertest.cc b/chrome/browser/extensions/extension_install_ui_browsertest.cc
index fc628471d65235af9a102c1e479d1ca6071c7d2d..be8173f2782e2bcd0104e23a20d49d1bd528a09f 100644
--- a/chrome/browser/extensions/extension_install_ui_browsertest.cc
+++ b/chrome/browser/extensions/extension_install_ui_browsertest.cc
@@ -74,10 +74,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionInstallUIBrowserTest,
ASSERT_EQ(NULL, GetTheme());
// Set the same theme twice and undo to verify we go back to default theme.
- // We set the |expected_change| to zero in these 'InstallExtensionWithUI'
- // calls since the theme has already been installed above and this is an
- // overinstall to set the active theme.
- ASSERT_TRUE(InstallExtensionWithUIAutoConfirm(theme_crx, 0, browser()));
+ ASSERT_TRUE(InstallExtensionWithUIAutoConfirm(theme_crx, 1, browser()));
theme = GetTheme();
ASSERT_TRUE(theme);
ASSERT_EQ(theme_id, theme->id());
« no previous file with comments | « no previous file | chrome/browser/themes/theme_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698