OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_PROFILE_SYNCABLE_SERVI
CE_H_ | 4 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_PROFILE_SYNCABLE_SERVI
CE_H_ |
5 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_PROFILE_SYNCABLE_SERVI
CE_H_ | 5 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_PROFILE_SYNCABLE_SERVI
CE_H_ |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
15 #include "base/scoped_observer.h" | 15 #include "base/scoped_observer.h" |
16 #include "base/supports_user_data.h" | 16 #include "base/supports_user_data.h" |
17 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
18 #include "base/threading/non_thread_safe.h" | 18 #include "base/threading/non_thread_safe.h" |
19 #include "components/autofill/core/browser/field_types.h" | 19 #include "components/autofill/core/browser/field_types.h" |
20 #include "components/autofill/core/browser/webdata/autofill_change.h" | 20 #include "components/autofill/core/browser/webdata/autofill_change.h" |
21 #include "components/autofill/core/browser/webdata/autofill_entry.h" | 21 #include "components/autofill/core/browser/webdata/autofill_entry.h" |
22 #include "components/autofill/core/browser/webdata/autofill_webdata_backend.h" | 22 #include "components/autofill/core/browser/webdata/autofill_webdata_backend.h" |
23 #include "components/autofill/core/browser/webdata/autofill_webdata_service_obse
rver.h" | 23 #include "components/autofill/core/browser/webdata/autofill_webdata_service_obse
rver.h" |
24 #include "components/sync/api/sync_change.h" | 24 #include "components/sync/model/sync_change.h" |
25 #include "components/sync/api/sync_data.h" | 25 #include "components/sync/model/sync_data.h" |
26 #include "components/sync/api/sync_error.h" | 26 #include "components/sync/model/sync_error.h" |
27 #include "components/sync/api/syncable_service.h" | 27 #include "components/sync/model/syncable_service.h" |
28 #include "components/sync/protocol/autofill_specifics.pb.h" | 28 #include "components/sync/protocol/autofill_specifics.pb.h" |
29 | 29 |
30 namespace browser_sync { | 30 namespace browser_sync { |
31 class ProfileSyncServiceAutofillTest; | 31 class ProfileSyncServiceAutofillTest; |
32 } // namespace browser_sync | 32 } // namespace browser_sync |
33 | 33 |
34 namespace autofill { | 34 namespace autofill { |
35 | 35 |
36 class AutofillProfile; | 36 class AutofillProfile; |
37 class AutofillTable; | 37 class AutofillTable; |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 // When we go through sync we find profiles that are similar but unmatched. | 210 // When we go through sync we find profiles that are similar but unmatched. |
211 // Merge such profiles. | 211 // Merge such profiles. |
212 GUIDToProfileMap candidates_to_merge; | 212 GUIDToProfileMap candidates_to_merge; |
213 // Profiles that have multi-valued fields that are not in sync. | 213 // Profiles that have multi-valued fields that are not in sync. |
214 std::vector<AutofillProfile*> profiles_to_sync_back; | 214 std::vector<AutofillProfile*> profiles_to_sync_back; |
215 }; | 215 }; |
216 | 216 |
217 } // namespace autofill | 217 } // namespace autofill |
218 | 218 |
219 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_PROFILE_SYNCABLE_SE
RVICE_H_ | 219 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_PROFILE_SYNCABLE_SE
RVICE_H_ |
OLD | NEW |