Index: chrome/browser/extensions/crx_installer.h |
diff --git a/chrome/browser/extensions/crx_installer.h b/chrome/browser/extensions/crx_installer.h |
index a3f7b10d48f1c49e90dcc37fce9eab638bdd0d78..9e90ffacc7110de1648ff84bd85d95217d02da16 100644 |
--- a/chrome/browser/extensions/crx_installer.h |
+++ b/chrome/browser/extensions/crx_installer.h |
@@ -188,6 +188,8 @@ class CrxInstaller |
is_ephemeral_ = val; |
} |
+ void set_is_syncable(bool is_syncable) { is_syncable_ = is_syncable; } |
+ |
bool did_handle_successfully() const { return did_handle_successfully_; } |
Profile* profile() { return installer_.profile(); } |
@@ -208,8 +210,7 @@ class CrxInstaller |
void ConvertUserScriptOnFileThread(); |
// Converts the source web app to an extension. |
- void ConvertWebAppOnFileThread(const WebApplicationInfo& web_app, |
- const base::FilePath& install_directory); |
+ void ConvertWebAppOnFileThread(const WebApplicationInfo& web_app); |
// Called after OnUnpackSuccess as a last check to see whether the install |
// should complete. |
@@ -270,7 +271,7 @@ class CrxInstaller |
GURL download_url_; |
// The directory extensions are installed to. |
- base::FilePath install_directory_; |
+ const base::FilePath install_directory_; |
// The location the installation came from (bundled with Chromium, registry, |
// manual install, etc). This metadata is saved with the installation if |
@@ -410,6 +411,10 @@ class CrxInstaller |
// True if an ephemeral app is being installed. |
bool is_ephemeral_; |
+ // Boolean value to initiate the relevant field in the installed Extension. |
+ // Default is true, which means the install extension is allowed to be synced. |
+ bool is_syncable_; |
+ |
// Gives access to common methods and data of an extension installer. |
ExtensionInstaller installer_; |