summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_prefs.h
diff options
context:
space:
mode:
authorbattre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-10 17:23:07 +0000
committerbattre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-10 17:23:07 +0000
commiteb29cc02f8229b38b369a77df3ce5b1f9bb6ad98 (patch)
treecd7948a4f53e4d9f463a398b3444bc4c545c031e /chrome/browser/extensions/extension_prefs.h
parente5f8065b05b2d85b881bb5ddf038fb341f0dc6a1 (diff)
downloadchromium_src-eb29cc02f8229b38b369a77df3ce5b1f9bb6ad98.zip
chromium_src-eb29cc02f8229b38b369a77df3ce5b1f9bb6ad98.tar.gz
chromium_src-eb29cc02f8229b38b369a77df3ce5b1f9bb6ad98.tar.bz2
Reduce warning level if extension has no installation time
BUG=67107 TEST=n/a Review URL: http://codereview.chromium.org/6180003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70902 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_prefs.h')
-rw-r--r--chrome/browser/extensions/extension_prefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
index 8c8be82..f02f6ec 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -357,6 +357,8 @@ class ExtensionPrefs {
void SetLastPingDayImpl(const base::Time& time, DictionaryValue* dictionary);
// Helper method to acquire the installation time of an extension.
+ // Returns base::Time() if the installation time could not be parsed or
+ // found.
base::Time GetInstallTime(const std::string& extension_id) const;
// Fix missing preference entries in the extensions that are were introduced