Index: chrome/browser/extensions/crx_installer.h |
diff --git a/chrome/browser/extensions/crx_installer.h b/chrome/browser/extensions/crx_installer.h |
index 20b2d20957d2af800c6a126ad1750c4e118b3ff5..55f681f477c6f9e663e91360c8e16b78e31dbcc4 100644 |
--- a/chrome/browser/extensions/crx_installer.h |
+++ b/chrome/browser/extensions/crx_installer.h |
@@ -196,6 +196,8 @@ class CrxInstaller |
const Extension* extension() { return installer_.extension().get(); } |
+ const std::string& current_version() const { return current_version_; } |
+ |
private: |
friend class ::ExtensionServiceTest; |
friend class ExtensionUpdaterTest; |
@@ -210,8 +212,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. |
@@ -272,7 +273,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 |