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

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

Issue 8539006: Cleanup: Remove unneeded forward declarations from various chrome/browser subdirectories. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 6 #pragma once
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 11 matching lines...) Expand all
22 #include "chrome/browser/webdata/autofill_entry.h" 22 #include "chrome/browser/webdata/autofill_entry.h"
23 #include "content/public/browser/notification_observer.h" 23 #include "content/public/browser/notification_observer.h"
24 #include "content/public/browser/notification_registrar.h" 24 #include "content/public/browser/notification_registrar.h"
25 #include "content/public/browser/notification_types.h" 25 #include "content/public/browser/notification_types.h"
26 26
27 class AutofillProfile; 27 class AutofillProfile;
28 class AutofillTable; 28 class AutofillTable;
29 class ProfileSyncServiceAutofillTest; 29 class ProfileSyncServiceAutofillTest;
30 class WebDataService; 30 class WebDataService;
31 31
32 namespace browser_sync {
33 class UnrecoverableErrorHandler;
34 }
35
36 extern const char kAutofillProfileTag[]; 32 extern const char kAutofillProfileTag[];
37 33
38 // The sync implementation for AutofillProfiles. 34 // The sync implementation for AutofillProfiles.
39 // MergeDataAndStartSyncing() called first, it does cloud->local and 35 // MergeDataAndStartSyncing() called first, it does cloud->local and
40 // local->cloud syncs. Then for each cloud change we receive 36 // local->cloud syncs. Then for each cloud change we receive
41 // ProcessSyncChanges() and for each local change Observe() is called. 37 // ProcessSyncChanges() and for each local change Observe() is called.
42 class AutofillProfileSyncableService 38 class AutofillProfileSyncableService
43 : public SyncableService, 39 : public SyncableService,
44 public content::NotificationObserver, 40 public content::NotificationObserver,
45 public base::NonThreadSafe { 41 public base::NonThreadSafe {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 struct AutofillProfileSyncableService::DataBundle { 146 struct AutofillProfileSyncableService::DataBundle {
151 DataBundle(); 147 DataBundle();
152 ~DataBundle(); 148 ~DataBundle();
153 149
154 std::vector<std::string> profiles_to_delete; 150 std::vector<std::string> profiles_to_delete;
155 std::vector<AutofillProfile*> profiles_to_update; 151 std::vector<AutofillProfile*> profiles_to_update;
156 std::vector<AutofillProfile*> profiles_to_add; 152 std::vector<AutofillProfile*> profiles_to_add;
157 }; 153 };
158 154
159 #endif // CHROME_BROWSER_WEBDATA_AUTOFILL_PROFILE_SYNCABLE_SERVICE_H_ 155 #endif // CHROME_BROWSER_WEBDATA_AUTOFILL_PROFILE_SYNCABLE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/webdata/autocomplete_syncable_service.h ('k') | chrome/browser/webdata/keyword_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698