| Index: chrome/browser/browsing_data/history_counter.h
|
| diff --git a/chrome/browser/browsing_data/history_counter.h b/chrome/browser/browsing_data/history_counter.h
|
| index f38181c9a0b13d61cf91ba558a0fc1d2ca3666f3..4061cdbdc0ab66c6a5e34e13a449f04c9fc05dac 100644
|
| --- a/chrome/browser/browsing_data/history_counter.h
|
| +++ b/chrome/browser/browsing_data/history_counter.h
|
| @@ -13,11 +13,18 @@
|
|
|
| class HistoryCounter: public BrowsingDataCounter {
|
| public:
|
| - // A special value indicating that the local counting result is zero, but some
|
| - // history entries exist in Sync.
|
| - // TODO(msramek): Change the callback signature so we can return a structured
|
| - // result instead of special int values.
|
| - static const BrowsingDataCounter::ResultInt kOnlySyncedHistory;
|
| + class HistoryResult : public FinishedResult {
|
| + public:
|
| + HistoryResult(const HistoryCounter* source,
|
| + ResultInt value,
|
| + bool has_synced_visits);
|
| + ~HistoryResult() override;
|
| +
|
| + bool has_synced_visits() const { return has_synced_visits_; }
|
| +
|
| + private:
|
| + bool has_synced_visits_;
|
| + };
|
|
|
| HistoryCounter();
|
| ~HistoryCounter() override;
|
|
|