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

Unified Diff: chrome/browser/extensions/extension_prefs.cc

Issue 5633005: fix extension_prefs.cc compilation for gcc 4.5 (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 10 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_prefs.cc
diff --git a/chrome/browser/extensions/extension_prefs.cc b/chrome/browser/extensions/extension_prefs.cc
index 112a2df0b20521c82e408ddf277cd1561fbb1572..74fd2a147e903243cb0dcf39690cf92b131f25e6 100644
--- a/chrome/browser/extensions/extension_prefs.cc
+++ b/chrome/browser/extensions/extension_prefs.cc
@@ -1125,7 +1125,7 @@ base::Time ExtensionPrefs::GetInstallTime(
const DictionaryValue* extension = GetExtensionPref(extension_id);
if (!extension) {
NOTREACHED();
- return base::Time::Time();
+ return base::Time();
}
std::string install_time_str("0");
extension->GetString(kPrefInstallTime, &install_time_str);
@@ -1158,7 +1158,7 @@ void ExtensionPrefs::FixMissingPrefs(const ExtensionIdSet& extension_ids) {
DictionaryValue* extension = GetExtensionPref(*ext_id);
CHECK(extension);
- if (GetInstallTime(*ext_id) == base::Time::Time()) {
+ if (GetInstallTime(*ext_id) == base::Time()) {
const base::Time install_time = GetCurrentTime();
extension->Set(kPrefInstallTime,
Value::CreateStringValue(
@@ -1191,7 +1191,7 @@ void ExtensionPrefs::InitPrefStore() {
const Value* ExtensionPrefs::GetWinningExtensionControlledPrefValue(
const std::string& key) const {
Value *winner = NULL;
- base::Time winners_install_time = base::Time::Time();
+ base::Time winners_install_time = base::Time();
ExtensionIdSet extension_ids;
GetEnabledExtensions(&extension_ids);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698