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

Unified Diff: components/history/core/browser/android/android_time.h

Issue 849323002: Componentize HistoryDatabase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android compilation Created 5 years, 11 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: components/history/core/browser/android/android_time.h
diff --git a/components/history/core/android/android_time.h b/components/history/core/browser/android/android_time.h
similarity index 74%
rename from components/history/core/android/android_time.h
rename to components/history/core/browser/android/android_time.h
index e48f8446c0a65d7deb11636b1e097765f4aa8a90..10e03e35ceb2449fbb44adf746d4fbca385f6827 100644
--- a/components/history/core/android/android_time.h
+++ b/components/history/core/browser/android/android_time.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_HISTORY_CORE_ANDROID_ANDROID_TIME_H_
-#define COMPONENTS_HISTORY_CORE_ANDROID_ANDROID_TIME_H_
+#ifndef COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_ANDROID_TIME_H_
+#define COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_ANDROID_TIME_H_
#include "base/time/time.h"
@@ -14,7 +14,7 @@ namespace history {
// stored in database.
inline base::Time FromDatabaseTime(int64 milliseconds) {
return base::TimeDelta::FromMilliseconds(milliseconds) +
- base::Time::UnixEpoch();
+ base::Time::UnixEpoch();
}
inline int64 ToDatabaseTime(const base::Time& time) {
@@ -23,4 +23,4 @@ inline int64 ToDatabaseTime(const base::Time& time) {
} // namespace history
-#endif // COMPONENTS_HISTORY_CORE_ANDROID_ANDROID_TIME_H_
+#endif // COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_ANDROID_TIME_H_

Powered by Google App Engine
This is Rietveld 408576698