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

Unified Diff: components/offline_pages/core/offline_event_logger.cc

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: more rebase Created 4 years, 1 month 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/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(&current_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);

Powered by Google App Engine
This is Rietveld 408576698