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

Side by Side Diff: chrome/browser/sync/glue/autofill_profile_change_processor.h

Issue 7624009: Original patch by rlarocque@chromium.org at http://codereview.chromium.org/7633077/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows build pt5 Created 9 years, 4 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) 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 4
5 #ifndef CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_CHANGE_PROCESSOR_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_CHANGE_PROCESSOR_H_
6 #define CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_CHANGE_PROCESSOR_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_CHANGE_PROCESSOR_H_
7 #pragma once 7 #pragma once
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "chrome/browser/autofill/autofill_profile.h" 11 #include "chrome/browser/autofill/autofill_profile.h"
12 #include "chrome/browser/autofill/personal_data_manager.h" 12 #include "chrome/browser/autofill/personal_data_manager.h"
13 #include "chrome/browser/sync/engine/syncapi.h"
14 #include "chrome/browser/sync/glue/autofill_profile_model_associator.h" 13 #include "chrome/browser/sync/glue/autofill_profile_model_associator.h"
15 #include "chrome/browser/sync/glue/change_processor.h" 14 #include "chrome/browser/sync/glue/change_processor.h"
15 #include "chrome/browser/sync/internal_api/sync_manager.h"
16 #include "chrome/browser/sync/unrecoverable_error_handler.h" 16 #include "chrome/browser/sync/unrecoverable_error_handler.h"
17 #include "chrome/browser/webdata/autofill_change.h" 17 #include "chrome/browser/webdata/autofill_change.h"
18 #include "chrome/browser/webdata/web_database.h" 18 #include "chrome/browser/webdata/web_database.h"
19 #include "content/common/content_notification_types.h" 19 #include "content/common/content_notification_types.h"
20 #include "content/common/notification_observer.h" 20 #include "content/common/notification_observer.h"
21 #include "content/common/notification_registrar.h" 21 #include "content/common/notification_registrar.h"
22 #include "content/common/notification_service.h" 22 #include "content/common/notification_service.h"
23 23
24 namespace sync_api {
25 class ReadNode;
26 class WriteNode;
27 class WriteTransaction;
28 } // namespace sync_api
29
24 namespace browser_sync { 30 namespace browser_sync {
25 31
26 class AutofillProfileChangeProcessor : public ChangeProcessor, 32 class AutofillProfileChangeProcessor : public ChangeProcessor,
27 public NotificationObserver { 33 public NotificationObserver {
28 public: 34 public:
29 AutofillProfileChangeProcessor( 35 AutofillProfileChangeProcessor(
30 AutofillProfileModelAssociator *model_associator, 36 AutofillProfileModelAssociator *model_associator,
31 WebDatabase* web_database, 37 WebDatabase* web_database,
32 PersonalDataManager* personal_data_manager, 38 PersonalDataManager* personal_data_manager,
33 UnrecoverableErrorHandler* error_handler); 39 UnrecoverableErrorHandler* error_handler);
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 bool observing_; 105 bool observing_;
100 106
101 WebDatabase* web_database_; 107 WebDatabase* web_database_;
102 PersonalDataManager* personal_data_; 108 PersonalDataManager* personal_data_;
103 NotificationRegistrar notification_registrar_; 109 NotificationRegistrar notification_registrar_;
104 }; 110 };
105 111
106 } // namespace browser_sync 112 } // namespace browser_sync
107 113
108 #endif // CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_CHANGE_PROCESSOR_H_ 114 #endif // CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_CHANGE_PROCESSOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/autofill_model_associator.cc ('k') | chrome/browser/sync/glue/autofill_profile_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698