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

Unified Diff: chrome/browser/browsing_data/mock_browsing_data_cookie_helper.h

Issue 2937963003: Shift cookie system callbacks to OnceCallback to impedance match mojo. (Closed)
Patch Set: Finish Merge Created 3 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: chrome/browser/browsing_data/mock_browsing_data_cookie_helper.h
diff --git a/chrome/browser/browsing_data/mock_browsing_data_cookie_helper.h b/chrome/browser/browsing_data/mock_browsing_data_cookie_helper.h
index 7b9daf9eafde072a810878f92403976872d5781c..f6487a617c7f48df8913352c013c9d21423c52d2 100644
--- a/chrome/browser/browsing_data/mock_browsing_data_cookie_helper.h
+++ b/chrome/browser/browsing_data/mock_browsing_data_cookie_helper.h
@@ -20,8 +20,7 @@ class MockBrowsingDataCookieHelper : public BrowsingDataCookieHelper {
net::URLRequestContextGetter* request_context_getter);
// BrowsingDataCookieHelper methods.
- void StartFetching(
- const net::CookieStore::GetCookieListCallback& callback) override;
+ void StartFetching(const FetchCallback& callback) override;
void DeleteCookie(const net::CanonicalCookie& cookie) override;
// Adds some cookie samples.
@@ -40,7 +39,7 @@ class MockBrowsingDataCookieHelper : public BrowsingDataCookieHelper {
private:
~MockBrowsingDataCookieHelper() override;
- net::CookieStore::GetCookieListCallback callback_;
+ FetchCallback callback_;
net::CookieList cookie_list_;

Powered by Google App Engine
This is Rietveld 408576698