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

Unified Diff: components/offline_pages/background/request_coordinator.cc

Issue 2089413002: [Offline Pages] Create a event/activity logger (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/offline_pages/background/request_coordinator.cc
diff --git a/components/offline_pages/background/request_coordinator.cc b/components/offline_pages/background/request_coordinator.cc
index d5e87d26a47a8fd93aa7af30aa2dacef1ad23837..237af31e72b2f6bfafc3d522740731ac11e5488d 100644
--- a/components/offline_pages/background/request_coordinator.cc
+++ b/components/offline_pages/background/request_coordinator.cc
@@ -151,4 +151,12 @@ void RequestCoordinator::OfflinerDoneCallback(const SavePageRequest& request,
}
}
+void RequestCoordinator::SetIsLogging(bool should_log) {
Pete Williamson 2016/06/24 00:38:31 I don't see any calls to record logs (for example
chili 2016/06/24 02:45:50 You don't see any logs because I don't actually kn
+ event_logger_.SetIsLogging(should_log);
+}
+
+void RequestCoordinator::GetLogs(std::vector<std::string> logs) {
+ event_logger_.GetLogs(logs);
+}
+
} // namespace offline_pages

Powered by Google App Engine
This is Rietveld 408576698