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

Side by Side Diff: chrome/browser/webdata/autofill_profile_syncable_service.h

Issue 13392014: Move c/b/webdata/ code to components/webdata/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pure merge Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
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_AUTOFILL_PROFILE_SYNCABLE_SERVICE_H_ 4 #ifndef CHROME_BROWSER_WEBDATA_AUTOFILL_PROFILE_SYNCABLE_SERVICE_H_
5 #define CHROME_BROWSER_WEBDATA_AUTOFILL_PROFILE_SYNCABLE_SERVICE_H_ 5 #define CHROME_BROWSER_WEBDATA_AUTOFILL_PROFILE_SYNCABLE_SERVICE_H_
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/scoped_vector.h" 12 #include "base/memory/scoped_vector.h"
13 #include "base/scoped_observer.h" 13 #include "base/scoped_observer.h"
14 #include "base/supports_user_data.h" 14 #include "base/supports_user_data.h"
15 #include "base/synchronization/lock.h" 15 #include "base/synchronization/lock.h"
16 #include "base/threading/non_thread_safe.h" 16 #include "base/threading/non_thread_safe.h"
17 #include "chrome/browser/webdata/autofill_change.h"
18 #include "chrome/browser/webdata/autofill_entry.h"
19 #include "chrome/browser/webdata/autofill_web_data_service_observer.h"
20 #include "components/autofill/browser/autofill_type.h" 17 #include "components/autofill/browser/autofill_type.h"
18 #include "components/webdata/autofill/autofill_change.h"
19 #include "components/webdata/autofill/autofill_entry.h"
20 #include "components/webdata/autofill/autofill_webdata_service_observer.h"
21 #include "sync/api/sync_change.h" 21 #include "sync/api/sync_change.h"
22 #include "sync/api/sync_data.h" 22 #include "sync/api/sync_data.h"
23 #include "sync/api/sync_error.h" 23 #include "sync/api/sync_error.h"
24 #include "sync/api/syncable_service.h" 24 #include "sync/api/syncable_service.h"
25 #include "sync/protocol/autofill_specifics.pb.h" 25 #include "sync/protocol/autofill_specifics.pb.h"
26 26
27 class AutofillProfile; 27 class AutofillProfile;
28 class AutofillTable; 28 class AutofillTable;
29 class AutofillWebDataService; 29 class AutofillWebDataService;
30 class FormGroup; 30 class FormGroup;
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 std::vector<AutofillProfile*> profiles_to_add; 193 std::vector<AutofillProfile*> profiles_to_add;
194 194
195 // When we go through sync we find profiles that are similar but unmatched. 195 // When we go through sync we find profiles that are similar but unmatched.
196 // Merge such profiles. 196 // Merge such profiles.
197 GUIDToProfileMap candidates_to_merge; 197 GUIDToProfileMap candidates_to_merge;
198 // Profiles that have multi-valued fields that are not in sync. 198 // Profiles that have multi-valued fields that are not in sync.
199 std::vector<AutofillProfile*> profiles_to_sync_back; 199 std::vector<AutofillProfile*> profiles_to_sync_back;
200 }; 200 };
201 201
202 #endif // CHROME_BROWSER_WEBDATA_AUTOFILL_PROFILE_SYNCABLE_SERVICE_H_ 202 #endif // CHROME_BROWSER_WEBDATA_AUTOFILL_PROFILE_SYNCABLE_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698