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

Unified Diff: components/update_client/update_checker.h

Issue 2873533002: Prepare to abstract PersistedData by making it part of the configurator.
Patch Set: Really fix a compile error in iOS component configurator this time. Created 3 years, 7 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 ac6e0a468ba7f6967b4f6b5d98e09a501a155757..803e788e20cb3c8a8a45d1ff0542b2d6b74665d8 100644
--- a/components/update_client/update_checker.h
+++ b/components/update_client/update_checker.h
@@ -19,7 +19,6 @@
namespace update_client {
class Configurator;
-class PersistedData;
class UpdateChecker {
public:
@@ -27,8 +26,7 @@ class UpdateChecker {
base::Callback<void(int error, int retry_after_sec)>;
using Factory = std::unique_ptr<UpdateChecker> (*)(
- const scoped_refptr<Configurator>& config,
- PersistedData* persistent);
+ const scoped_refptr<Configurator>& config);
virtual ~UpdateChecker() = default;
@@ -46,8 +44,7 @@ class UpdateChecker {
const UpdateCheckCallback& update_check_callback) = 0;
static std::unique_ptr<UpdateChecker> Create(
- const scoped_refptr<Configurator>& config,
- PersistedData* persistent);
+ const scoped_refptr<Configurator>& config);
protected:
UpdateChecker() = default;

Powered by Google App Engine
This is Rietveld 408576698