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

Unified Diff: components/update_client/update_checker.h

Issue 1861383004: Add module for counting date-last-roll-call and persisting those counts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ASAN Created 4 years, 8 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/update_client/update_checker.h
diff --git a/components/update_client/update_checker.h b/components/update_client/update_checker.h
index 1f0eb99389c62b5f5200064894870068f6ebd158..83c9387dd4e2b9f0f5482185995620fc782019e2 100644
--- a/components/update_client/update_checker.h
+++ b/components/update_client/update_checker.h
@@ -19,6 +19,7 @@ class GURL;
namespace update_client {
+class PersistedData;
class Configurator;
struct CrxUpdateItem;
@@ -29,8 +30,9 @@ class UpdateChecker {
const UpdateResponse::Results& results,
int retry_after_sec)>;
- using Factory =
- scoped_ptr<UpdateChecker> (*)(const scoped_refptr<Configurator>& config);
+ using Factory = scoped_ptr<UpdateChecker> (*)(
+ const scoped_refptr<Configurator>& config,
+ const scoped_refptr<PersistedData>& persistent);
virtual ~UpdateChecker() {}
@@ -43,7 +45,8 @@ class UpdateChecker {
const UpdateCheckCallback& update_check_callback) = 0;
static scoped_ptr<UpdateChecker> Create(
- const scoped_refptr<Configurator>& config);
+ const scoped_refptr<Configurator>& config,
+ const scoped_refptr<PersistedData>& persistent);
protected:
UpdateChecker() {}

Powered by Google App Engine
This is Rietveld 408576698