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

Unified Diff: components/offline_pages/core/background/offliner_stub.h

Issue 2715433006: [Offline Pages] Turn Offliner::Cancel into an async operation to resolve conflicting assumptions (Closed)
Patch Set: Created 3 years, 10 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/core/background/offliner_stub.h
diff --git a/components/offline_pages/core/background/offliner_stub.h b/components/offline_pages/core/background/offliner_stub.h
index f792260636408186a73cc2378d046e80c46677e5..bf597053687a84146de2c0c1fe77a79885593e9b 100644
--- a/components/offline_pages/core/background/offliner_stub.h
+++ b/components/offline_pages/core/background/offliner_stub.h
@@ -19,7 +19,7 @@ class OfflinerStub : public Offliner {
bool LoadAndSave(const SavePageRequest& request,
const CompletionCallback& callback) override;
- void Cancel() override;
+ void Cancel(const CancelCallback& callback) override;
void disable_loading() { disable_loading_ = true; }

Powered by Google App Engine
This is Rietveld 408576698