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

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: forgot to init 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 821f5ea9ed5f10acc164a13ab4a49c170cfce4a7..16abb8f7b62e8a6491f650f3ec11ae9974864122 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; }
« no previous file with comments | « components/offline_pages/core/background/offliner.h ('k') | components/offline_pages/core/background/offliner_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698