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

Unified Diff: chrome/browser/extensions/unpacked_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 strings to StringOrdinals Created 9 years, 1 month 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/unpacked_installer.cc
diff --git a/chrome/browser/extensions/unpacked_installer.cc b/chrome/browser/extensions/unpacked_installer.cc
index b8c240d482b3161d5207bea0079e052254d5843b..d6c4ee5e5ff62257c171bc3aec32138b24129e79 100644
--- a/chrome/browser/extensions/unpacked_installer.cc
+++ b/chrome/browser/extensions/unpacked_installer.cc
@@ -12,6 +12,7 @@
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/extension_file_util.h"
+#include "chrome/common/string_ordinal.h"
using content::BrowserThread;
@@ -56,7 +57,7 @@ void SimpleExtensionLoadPrompt::ShowPrompt() {
void SimpleExtensionLoadPrompt::InstallUIProceed() {
if (service_weak_.get())
service_weak_->OnExtensionInstalled(
- extension_, false, -1); // Not from web store.
+ extension_, false, StringOrdinal()); // Not from web store.
delete this;
}
@@ -211,7 +212,7 @@ void UnpackedInstaller::OnLoaded(
}
service_weak_->OnExtensionInstalled(extension,
false, // Not from web store.
- -1);
+ StringOrdinal());
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698