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

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

Issue 308003005: app_list: Drive app integration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: track generated instead of abusing from_bookmark() etc Created 6 years, 6 months 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
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

Powered by Google App Engine
This is Rietveld 408576698