| 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 "chrome/browser/webdata/autofill_change.h" | 18 #include "components/webdata/autofill/autofill_change.h" |
| 19 #include "chrome/browser/webdata/autofill_entry.h" | 19 #include "components/webdata/autofill/autofill_entry.h" |
| 20 #include "chrome/browser/webdata/autofill_web_data_service.h" | 20 #include "components/webdata/autofill/autofill_webdata_service.h" |
| 21 #include "chrome/browser/webdata/autofill_web_data_service_observer.h" | 21 #include "components/webdata/autofill/autofill_webdata_service_observer.h" |
| 22 #include "sync/api/sync_change.h" | 22 #include "sync/api/sync_change.h" |
| 23 #include "sync/api/sync_data.h" | 23 #include "sync/api/sync_data.h" |
| 24 #include "sync/api/sync_error.h" | 24 #include "sync/api/sync_error.h" |
| 25 #include "sync/api/syncable_service.h" | 25 #include "sync/api/syncable_service.h" |
| 26 | 26 |
| 27 class ProfileSyncServiceAutofillTest; | 27 class ProfileSyncServiceAutofillTest; |
| 28 | 28 |
| 29 namespace syncer { | 29 namespace syncer { |
| 30 class SyncErrorFactory; | 30 class SyncErrorFactory; |
| 31 } | 31 } |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 scoped_ptr<syncer::SyncErrorFactory> error_handler_; | 158 scoped_ptr<syncer::SyncErrorFactory> error_handler_; |
| 159 | 159 |
| 160 // Whether we should cull expired autofill entries, can be updated by sync | 160 // Whether we should cull expired autofill entries, can be updated by sync |
| 161 // via UpdateCullingSetting. | 161 // via UpdateCullingSetting. |
| 162 bool cull_expired_entries_; | 162 bool cull_expired_entries_; |
| 163 | 163 |
| 164 DISALLOW_COPY_AND_ASSIGN(AutocompleteSyncableService); | 164 DISALLOW_COPY_AND_ASSIGN(AutocompleteSyncableService); |
| 165 }; | 165 }; |
| 166 | 166 |
| 167 #endif // CHROME_BROWSER_WEBDATA_AUTOCOMPLETE_SYNCABLE_SERVICE_H_ | 167 #endif // CHROME_BROWSER_WEBDATA_AUTOCOMPLETE_SYNCABLE_SERVICE_H_ |
| OLD | NEW |