| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_WEBDATA_AUTOCOMPLETE_SYNCABLE_SERVICE_H_ | 4 #ifndef CHROME_BROWSER_WEBDATA_AUTOCOMPLETE_SYNCABLE_SERVICE_H_ |
| 5 #define CHROME_BROWSER_WEBDATA_AUTOCOMPLETE_SYNCABLE_SERVICE_H_ | 5 #define CHROME_BROWSER_WEBDATA_AUTOCOMPLETE_SYNCABLE_SERVICE_H_ |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.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/threading/non_thread_safe.h" | 17 #include "base/threading/non_thread_safe.h" |
| 18 #include "components/autofill/browser/webdata/autofill_change.h" | 18 #include "components/autofill/core/browser/webdata/autofill_change.h" |
| 19 #include "components/autofill/browser/webdata/autofill_entry.h" | 19 #include "components/autofill/core/browser/webdata/autofill_entry.h" |
| 20 #include "components/autofill/browser/webdata/autofill_webdata_backend.h" | 20 #include "components/autofill/core/browser/webdata/autofill_webdata_backend.h" |
| 21 #include "components/autofill/browser/webdata/autofill_webdata_service.h" | 21 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
| 22 #include "components/autofill/browser/webdata/autofill_webdata_service_observer.
h" | 22 #include "components/autofill/core/browser/webdata/autofill_webdata_service_obse
rver.h" |
| 23 #include "sync/api/sync_change.h" | 23 #include "sync/api/sync_change.h" |
| 24 #include "sync/api/sync_data.h" | 24 #include "sync/api/sync_data.h" |
| 25 #include "sync/api/sync_error.h" | 25 #include "sync/api/sync_error.h" |
| 26 #include "sync/api/syncable_service.h" | 26 #include "sync/api/syncable_service.h" |
| 27 | 27 |
| 28 class ProfileSyncServiceAutofillTest; | 28 class ProfileSyncServiceAutofillTest; |
| 29 | 29 |
| 30 namespace syncer { | 30 namespace syncer { |
| 31 class SyncErrorFactory; | 31 class SyncErrorFactory; |
| 32 } | 32 } |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 // Whether we should cull expired autofill entries, can be updated by sync | 171 // Whether we should cull expired autofill entries, can be updated by sync |
| 172 // via UpdateCullingSetting. | 172 // via UpdateCullingSetting. |
| 173 bool cull_expired_entries_; | 173 bool cull_expired_entries_; |
| 174 | 174 |
| 175 syncer::SyncableService::StartSyncFlare flare_; | 175 syncer::SyncableService::StartSyncFlare flare_; |
| 176 | 176 |
| 177 DISALLOW_COPY_AND_ASSIGN(AutocompleteSyncableService); | 177 DISALLOW_COPY_AND_ASSIGN(AutocompleteSyncableService); |
| 178 }; | 178 }; |
| 179 | 179 |
| 180 #endif // CHROME_BROWSER_WEBDATA_AUTOCOMPLETE_SYNCABLE_SERVICE_H_ | 180 #endif // CHROME_BROWSER_WEBDATA_AUTOCOMPLETE_SYNCABLE_SERVICE_H_ |
| OLD | NEW |