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

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

Issue 10683003: Moved CrxInstaller and CrxInstallerError into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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/browser/extensions/extension_install_ui_default.cc
diff --git a/chrome/browser/extensions/extension_install_ui_default.cc b/chrome/browser/extensions/extension_install_ui_default.cc
index 8448cbecf8b6920ade2960cd19341b0eaf162123..fea40e6e082e3c64d9b92f348f749af6628341ae 100644
--- a/chrome/browser/extensions/extension_install_ui_default.cc
+++ b/chrome/browser/extensions/extension_install_ui_default.cc
@@ -51,7 +51,7 @@ class ErrorInfobarDelegate : public ConfirmInfoBarDelegate {
public:
ErrorInfobarDelegate(InfoBarTabHelper* infobar_helper,
Browser* browser,
- const CrxInstallerError& error)
+ const extensions::CrxInstallerError& error)
: ConfirmInfoBarDelegate(infobar_helper),
browser_(browser),
error_(error) {
@@ -67,7 +67,7 @@ class ErrorInfobarDelegate : public ConfirmInfoBarDelegate {
}
virtual string16 GetLinkText() const OVERRIDE {
- return error_.type() == CrxInstallerError::ERROR_OFF_STORE ?
+ return error_.type() == extensions::CrxInstallerError::ERROR_OFF_STORE ?
l10n_util::GetStringUTF16(IDS_LEARN_MORE) : ASCIIToUTF16("");
}
@@ -82,7 +82,7 @@ class ErrorInfobarDelegate : public ConfirmInfoBarDelegate {
}
Browser* browser_;
- CrxInstallerError error_;
+ extensions::CrxInstallerError error_;
};
} // namespace
@@ -144,7 +144,7 @@ void ExtensionInstallUIDefault::OnInstallSuccess(const Extension* extension,
}
void ExtensionInstallUIDefault::OnInstallFailure(
- const CrxInstallerError& error) {
+ const extensions::CrxInstallerError& error) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
if (disable_failure_ui_for_tests || skip_post_install_ui_)
return;

Powered by Google App Engine
This is Rietveld 408576698