Index: components/offline_pages/core/offline_event_logger.cc |
diff --git a/components/offline_pages/offline_event_logger.cc b/components/offline_pages/core/offline_event_logger.cc |
similarity index 84% |
rename from components/offline_pages/offline_event_logger.cc |
rename to components/offline_pages/core/offline_event_logger.cc |
index 810c2a667e670621ca37eb0b15eff815388b3744..aa44b68568843a98c2bac986e9cb3dc134bf236f 100644 |
--- a/components/offline_pages/offline_event_logger.cc |
+++ b/components/offline_pages/core/offline_event_logger.cc |
@@ -4,7 +4,7 @@ |
#include "base/strings/stringprintf.h" |
#include "base/time/time.h" |
-#include "components/offline_pages/offline_event_logger.h" |
+#include "components/offline_pages/core/offline_event_logger.h" |
namespace offline_pages { |
@@ -36,12 +36,8 @@ void OfflineEventLogger::RecordActivity(const std::string& activity) { |
base::Time::Now().LocalExplode(¤t_time); |
std::string date_string = base::StringPrintf( |
- "%d %02d %02d %02d:%02d:%02d", |
- current_time.year, |
- current_time.month, |
- current_time.day_of_month, |
- current_time.hour, |
- current_time.minute, |
+ "%d %02d %02d %02d:%02d:%02d", current_time.year, current_time.month, |
+ current_time.day_of_month, current_time.hour, current_time.minute, |
current_time.second); |
activities_.push_front(date_string + ": " + activity); |