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

Side by Side Diff: components/browsing_data/core/counters/autofill_counter.cc

Issue 2855623005: Move browsing_data counter sync tests to separate file (Closed)
Patch Set: remove HistoryResult and PasswordResult 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698