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

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: Another test fix. 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
« no previous file with comments | « components/update_client/test_configurator.cc ('k') | components/update_client/update_checker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..94b88d67eec534441a90e97aa2c6798173ed440c 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;
@@ -30,7 +31,8 @@ class UpdateChecker {
int retry_after_sec)>;
using Factory =
- scoped_ptr<UpdateChecker> (*)(const scoped_refptr<Configurator>& config);
+ scoped_ptr<UpdateChecker> (*)(const scoped_refptr<Configurator>& config,
+ const 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 PersistedData& persistent);
protected:
UpdateChecker() {}
« no previous file with comments | « components/update_client/test_configurator.cc ('k') | components/update_client/update_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698