| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/browsing_data/core/counters/autofill_counter.h" | 5 #include "components/browsing_data/core/counters/autofill_counter.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 } | 193 } |
| 194 } | 194 } |
| 195 | 195 |
| 196 // AutofillCounter::AutofillResult --------------------------------------------- | 196 // AutofillCounter::AutofillResult --------------------------------------------- |
| 197 | 197 |
| 198 AutofillCounter::AutofillResult::AutofillResult(const AutofillCounter* source, | 198 AutofillCounter::AutofillResult::AutofillResult(const AutofillCounter* source, |
| 199 ResultInt num_suggestions, | 199 ResultInt num_suggestions, |
| 200 ResultInt num_credit_cards, | 200 ResultInt num_credit_cards, |
| 201 ResultInt num_addresses, | 201 ResultInt num_addresses, |
| 202 bool autofill_sync_enabled_) | 202 bool autofill_sync_enabled_) |
| 203 : FinishedResult(source, num_suggestions), | 203 : SyncResult(source, num_suggestions, autofill_sync_enabled_), |
| 204 num_credit_cards_(num_credit_cards), | 204 num_credit_cards_(num_credit_cards), |
| 205 num_addresses_(num_addresses), | 205 num_addresses_(num_addresses) {} |
| 206 autofill_sync_enabled_(autofill_sync_enabled_) {} | |
| 207 | 206 |
| 208 AutofillCounter::AutofillResult::~AutofillResult() {} | 207 AutofillCounter::AutofillResult::~AutofillResult() {} |
| 209 | 208 |
| 210 } // namespace browsing_data | 209 } // namespace browsing_data |
| OLD | NEW |