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

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

Issue 2356433004: [Offline pages] Extracting AddRequest method in RequestQueueStore (Closed)
Patch Set: Addressing feedback plus attempt at fixing compilation issue" Created 4 years, 3 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/save_page_request.h
diff --git a/components/offline_pages/background/save_page_request.h b/components/offline_pages/background/save_page_request.h
index c154a6d2bb91c86a0035aa81b5b4b76407417b4e..8af97d9baf538af605fc809534506e9c560a9e99 100644
--- a/components/offline_pages/background/save_page_request.h
+++ b/components/offline_pages/background/save_page_request.h
@@ -37,6 +37,8 @@ class SavePageRequest {
SavePageRequest(const SavePageRequest& other);
~SavePageRequest();
+ bool operator==(const SavePageRequest& other) const;
+
// Updates the |last_attempt_time_| and increments |attempt_count_|.
void MarkAttemptStarted(const base::Time& start_time);

Powered by Google App Engine
This is Rietveld 408576698