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

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

Issue 8898027: Revert 114083 - Convert app_launch_index and page_index from int to StringOrdinal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « no previous file | chrome/browser/extensions/crx_installer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/crx_installer.h
===================================================================
--- chrome/browser/extensions/crx_installer.h (revision 114254)
+++ chrome/browser/extensions/crx_installer.h (working copy)
@@ -16,7 +16,6 @@
#include "chrome/browser/extensions/extension_install_ui.h"
#include "chrome/browser/extensions/sandboxed_extension_unpacker.h"
#include "chrome/common/extensions/extension.h"
-#include "chrome/common/string_ordinal.h"
#include "chrome/common/web_apps.h"
class ExtensionService;
@@ -178,8 +177,8 @@
install_cause_ = install_cause;
}
- void set_page_ordinal(const StringOrdinal& page_ordinal) {
- page_ordinal_ = page_ordinal;
+ void set_page_index(int page_index) {
+ page_index_ = page_index;
}
Profile* profile() { return profile_; }
@@ -272,8 +271,8 @@
// ExtensionService on success, or delete it on failure.
scoped_refptr<const Extension> extension_;
- // The ordinal of the NTP apps page |extension_| will be shown on.
- StringOrdinal page_ordinal_;
+ // The index of the NTP apps page |extension_| will be shown on.
+ int page_index_;
// A parsed copy of the unmodified original manifest, before any
// transformations like localization have taken place.
« no previous file with comments | « no previous file | chrome/browser/extensions/crx_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698