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

Unified Diff: components/browsing_data/core/counters/autofill_counter.h

Issue 2855623005: Move browsing_data counter sync tests to separate file (Closed)
Patch Set: fixes 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/browsing_data/core/counters/autofill_counter.h
diff --git a/components/browsing_data/core/counters/autofill_counter.h b/components/browsing_data/core/counters/autofill_counter.h
index dc59825c872cb8b6746b5378589a308df7a944bb..7352a0c4f6810b5377425b9bc9e5ec63b6345a12 100644
--- a/components/browsing_data/core/counters/autofill_counter.h
+++ b/components/browsing_data/core/counters/autofill_counter.h
@@ -23,7 +23,7 @@ class AutofillCounter : public browsing_data::BrowsingDataCounter,
public WebDataServiceConsumer,
public syncer::SyncServiceObserver {
public:
- class AutofillResult : public FinishedResult {
+ class AutofillResult : public SyncResult {
public:
AutofillResult(const AutofillCounter* source,
ResultInt num_suggestions,
@@ -34,12 +34,10 @@ class AutofillCounter : public browsing_data::BrowsingDataCounter,
ResultInt num_credit_cards() const { return num_credit_cards_; }
ResultInt num_addresses() const { return num_addresses_; }
- bool autofill_sync_enabled() const { return autofill_sync_enabled_; }
private:
ResultInt num_credit_cards_;
ResultInt num_addresses_;
- bool autofill_sync_enabled_;
DISALLOW_COPY_AND_ASSIGN(AutofillResult);
};

Powered by Google App Engine
This is Rietveld 408576698