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

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: Latest-er master Created 8 years, 5 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 a6bc9241ae76fac0ebd7e5980bc125677171607c..41eb7fe8748ba8264aceed4aa4974e15b3e7157a 100644
--- a/chrome/browser/extensions/extension_install_ui_default.cc
+++ b/chrome/browser/extensions/extension_install_ui_default.cc
@@ -52,7 +52,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) {
@@ -68,7 +68,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("");
}
@@ -83,7 +83,7 @@ class ErrorInfobarDelegate : public ConfirmInfoBarDelegate {
}
Browser* browser_;
- CrxInstallerError error_;
+ extensions::CrxInstallerError error_;
};
} // namespace
@@ -145,7 +145,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;
« no previous file with comments | « chrome/browser/extensions/extension_install_ui_default.h ('k') | chrome/browser/extensions/extension_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698