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

Unified Diff: ceee/ie/common/ceee_module_util.h

Issue 5027001: Add the Chrome version as one of the things we check to see if... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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
« no previous file with comments | « no previous file | ceee/ie/common/ceee_module_util.cc » ('j') | ceee/ie/common/ceee_module_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ceee/ie/common/ceee_module_util.h
===================================================================
--- ceee/ie/common/ceee_module_util.h (revision 65870)
+++ ceee/ie/common/ceee_module_util.h (working copy)
@@ -51,10 +51,13 @@
FilePath GetInstalledExtensionPath();
base::Time GetInstalledExtensionTime();
-// Return true if the extension is outdated compared to the registry
+// Return true if extension installation should be attempted according
+// to the registry. Note that Chrome will silently fail installation of
+// an extension version older than what is already installed.
bool NeedToInstallExtension();
-// Install an extension and sets the right registry values
+// Sets the right registry values to cache the fact that we asked
+// Chrome to install an extension.
void SetInstalledExtensionPath(const FilePath& path);
// Returns true if the given path ends with .crx or is empty (as an
« no previous file with comments | « no previous file | ceee/ie/common/ceee_module_util.cc » ('j') | ceee/ie/common/ceee_module_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698