Index: chrome/browser/extensions/crx_installer.h |
diff --git a/chrome/browser/extensions/crx_installer.h b/chrome/browser/extensions/crx_installer.h |
index 1db81048c31b0987d3ef49292d257b2a8fb058ad..52d6248cc38e8b69d548b1c89ec3aaa45eaf4d4a 100644 |
--- a/chrome/browser/extensions/crx_installer.h |
+++ b/chrome/browser/extensions/crx_installer.h |
@@ -153,6 +153,10 @@ class CrxInstaller |
install_cause_ = install_cause; |
} |
+ void set_page_index(int page_index) { |
+ page_index_ = page_index; |
+ } |
+ |
private: |
friend class ExtensionUpdaterTest; |
@@ -239,6 +243,9 @@ class CrxInstaller |
// ExtensionService on success, or delete it on failure. |
scoped_refptr<const Extension> extension_; |
+ // 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. |
scoped_ptr<base::DictionaryValue> original_manifest_; |