| Index: chrome/browser/extensions/crx_installer.h
|
| diff --git a/chrome/browser/extensions/crx_installer.h b/chrome/browser/extensions/crx_installer.h
|
| index e8d91142c1fa7a483579cbe6f5933b0a8e087e74..5a9d51b4d25a8d51fbb3df11d9b5f56c86b5cc1e 100644
|
| --- a/chrome/browser/extensions/crx_installer.h
|
| +++ b/chrome/browser/extensions/crx_installer.h
|
| @@ -142,11 +142,13 @@ class CrxInstaller
|
| extension_misc::CrxInstallCause install_cause() const {
|
| return install_cause_;
|
| }
|
| -
|
| void set_install_cause(extension_misc::CrxInstallCause install_cause) {
|
| install_cause_ = install_cause;
|
| }
|
|
|
| + bool allow_off_store_install() const { return allow_off_store_install_; }
|
| + void set_allow_off_store_install(bool val) { allow_off_store_install_ = val; }
|
| +
|
| void set_page_ordinal(const StringOrdinal& page_ordinal) {
|
| page_ordinal_ = page_ordinal;
|
| }
|
| @@ -309,6 +311,9 @@ class CrxInstaller
|
| // when calling Extenion::Create() by the crx installer.
|
| int creation_flags_;
|
|
|
| + // Whether to allow off store installation.
|
| + bool allow_off_store_install_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(CrxInstaller);
|
| };
|
|
|
|
|