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

Unified Diff: components/offline_pages/background/request_coordinator_event_logger.h

Issue 2209813002: [Offline Pages] Moves Coordinator to using MarkAttemptStarted/MarkAttemptCompleted API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix trybot complaint for no return value on string mapping methods Created 4 years, 4 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_event_logger.h
diff --git a/components/offline_pages/background/request_coordinator_event_logger.h b/components/offline_pages/background/request_coordinator_event_logger.h
index 0e0476435898582911c543ec1930a06ba0c04744..483ee75eb05aca225b35be5ff0a92445cc987475 100644
--- a/components/offline_pages/background/request_coordinator_event_logger.h
+++ b/components/offline_pages/background/request_coordinator_event_logger.h
@@ -6,6 +6,7 @@
#define COMPONENTS_OFFLINE_PAGES_BACKGROUND_REQUEST_COORDINATOR_EVENT_LOGGER_H_
#include <stdint.h>
+#include <string>
#include "components/offline_pages/offline_event_logger.h"
@@ -18,6 +19,9 @@ class RequestCoordinatorEventLogger : public OfflineEventLogger {
void RecordSavePageRequestUpdated(const std::string& name_space,
const std::string& new_status,
int64_t request_id);
+
+ void RecordUpdateRequestFailed(const std::string& name_space,
+ const std::string& result);
};
} // namespace offline_pages

Powered by Google App Engine
This is Rietveld 408576698