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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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_CHANGE_PROCESSOR_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_AUTOFILL_CHANGE_PROCESSOR_H_
6 #define CHROME_BROWSER_SYNC_GLUE_AUTOFILL_CHANGE_PROCESSOR_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_AUTOFILL_CHANGE_PROCESSOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 26 matching lines...) Expand all
37 public NotificationObserver { 37 public NotificationObserver {
38 public: 38 public:
39 AutofillChangeProcessor(AutofillModelAssociator* model_associator, 39 AutofillChangeProcessor(AutofillModelAssociator* model_associator,
40 WebDatabase* web_database, 40 WebDatabase* web_database,
41 PersonalDataManager* personal_data, 41 PersonalDataManager* personal_data,
42 UnrecoverableErrorHandler* error_handler); 42 UnrecoverableErrorHandler* error_handler);
43 virtual ~AutofillChangeProcessor(); 43 virtual ~AutofillChangeProcessor();
44 44
45 // NotificationObserver implementation. 45 // NotificationObserver implementation.
46 // WebDataService -> sync_api model change application. 46 // WebDataService -> sync_api model change application.
47 virtual void Observe(NotificationType type, 47 virtual void Observe(int type,
48 const NotificationSource& source, 48 const NotificationSource& source,
49 const NotificationDetails& details); 49 const NotificationDetails& details);
50 50
51 // sync_api model -> WebDataService change application. 51 // sync_api model -> WebDataService change application.
52 virtual void ApplyChangesFromSyncModel( 52 virtual void ApplyChangesFromSyncModel(
53 const sync_api::BaseTransaction* trans, 53 const sync_api::BaseTransaction* trans,
54 const sync_api::SyncManager::ChangeRecord* changes, 54 const sync_api::SyncManager::ChangeRecord* changes,
55 int change_count); 55 int change_count);
56 56
57 // Commit any changes from ApplyChangesFromSyncModel buffered in 57 // Commit any changes from ApplyChangesFromSyncModel buffered in
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // in CommitChangesFromSyncModel. 130 // in CommitChangesFromSyncModel.
131 struct AutofillChangeRecord; 131 struct AutofillChangeRecord;
132 std::vector<AutofillChangeRecord> autofill_changes_; 132 std::vector<AutofillChangeRecord> autofill_changes_;
133 133
134 DISALLOW_COPY_AND_ASSIGN(AutofillChangeProcessor); 134 DISALLOW_COPY_AND_ASSIGN(AutofillChangeProcessor);
135 }; 135 };
136 136
137 } // namespace browser_sync 137 } // namespace browser_sync
138 138
139 #endif // CHROME_BROWSER_SYNC_GLUE_AUTOFILL_CHANGE_PROCESSOR_H_ 139 #endif // CHROME_BROWSER_SYNC_GLUE_AUTOFILL_CHANGE_PROCESSOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/app_change_processor.cc ('k') | chrome/browser/sync/glue/autofill_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698