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

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

Issue 8198003: Convert app_launch_index and page_index from int to StringOrdinal. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Changing ..MinAndMax.. to ..MinOrMax.. Created 9 years 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/crx_installer.cc
diff --git a/chrome/browser/extensions/crx_installer.cc b/chrome/browser/extensions/crx_installer.cc
index 430b4441242b5610f8df445d5f26568c2f9f77f9..abc0b55786e54cc02fedfa203260d0c20cacfa7d 100644
--- a/chrome/browser/extensions/crx_installer.cc
+++ b/chrome/browser/extensions/crx_installer.cc
@@ -132,7 +132,6 @@ CrxInstaller::CrxInstaller(base::WeakPtr<ExtensionService> frontend_weak,
extensions_enabled_(frontend_weak->extensions_enabled()),
delete_source_(false),
create_app_shortcut_(false),
- page_index_(-1),
frontend_weak_(frontend_weak),
profile_(frontend_weak->profile()),
client_(client),
@@ -586,7 +585,7 @@ void CrxInstaller::ReportSuccessFromUIThread() {
// Tell the frontend about the installation and hand off ownership of
// extension_ to it.
frontend_weak_->OnExtensionInstalled(extension_, is_gallery_install(),
- page_index_);
+ page_ordinal_);
NotifyCrxInstallComplete(extension_.get());

Powered by Google App Engine
This is Rietveld 408576698