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

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: rebase Created 4 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
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(&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);
std::string log_message = date_string + ": " + activity;
« no previous file with comments | « components/offline_pages/core/offline_event_logger.h ('k') | components/offline_pages/core/offline_page_archiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698