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

Unified Diff: chrome/browser/extensions/extension_install_ui.h

Issue 164312: Make the theme install infobar have an 'undo' button instead of (Closed)
Patch Set: Created 11 years, 4 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/browser/extensions/extension_install_ui.h
diff --git a/chrome/browser/extensions/extension_install_ui.h b/chrome/browser/extensions/extension_install_ui.h
index 9cdc5ac652017c148300e2a27874836efa544391..6ca224d9e6f092c456aed519bfd04de212cef9a8 100644
--- a/chrome/browser/extensions/extension_install_ui.h
+++ b/chrome/browser/extensions/extension_install_ui.h
@@ -34,10 +34,11 @@ class ExtensionInstallUI : public CrxInstallerClient {
virtual void OnInstallFailure(const std::string& error);
virtual void OnOverinstallAttempted(Extension* extension);
- void ShowThemeInfoBar(Extension* extension);
+ void ShowThemeInfoBar(Extension* new_theme);
Profile* profile_;
MessageLoop* ui_loop_;
+ std::string previous_theme_id_; // Used to undo theme installation.
};
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_

Powered by Google App Engine
This is Rietveld 408576698