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 86% |
rename from components/offline_pages/offline_event_logger.cc |
rename to components/offline_pages/core/offline_event_logger.cc |
index 28229368379ee11c68268a5c2e87547e9eeb73d2..0fb38f369ba1e3844a469bc5b959b05f378d75f9 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 { |
@@ -40,12 +40,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); |
std::string log_message = date_string + ": " + activity; |