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

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

Issue 6272025: Part 2 of repairing regressions to my old clang check plugins so Nico can (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright 2011 Created 9 years, 10 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) 2010 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 #ifndef CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_CHANGE_PROCESSOR_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_CHANGE_PROCESSOR_H_
5 #define CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_CHANGE_PROCESSOR_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_CHANGE_PROCESSOR_H_
6 #pragma once 7 #pragma once
7 #include <string> 8 #include <string>
8 #include <vector> 9 #include <vector>
9 10
10 #include "chrome/browser/autofill/autofill_profile.h" 11 #include "chrome/browser/autofill/autofill_profile.h"
11 #include "chrome/browser/autofill/personal_data_manager.h" 12 #include "chrome/browser/autofill/personal_data_manager.h"
12 #include "chrome/browser/sync/engine/syncapi.h" 13 #include "chrome/browser/sync/engine/syncapi.h"
13 #include "chrome/browser/sync/glue/autofill_profile_model_associator.h" 14 #include "chrome/browser/sync/glue/autofill_profile_model_associator.h"
(...skipping 10 matching lines...) Expand all
24 25
25 class AutofillProfileChangeProcessor : public ChangeProcessor, 26 class AutofillProfileChangeProcessor : public ChangeProcessor,
26 public NotificationObserver { 27 public NotificationObserver {
27 public: 28 public:
28 AutofillProfileChangeProcessor( 29 AutofillProfileChangeProcessor(
29 AutofillProfileModelAssociator *model_associator, 30 AutofillProfileModelAssociator *model_associator,
30 WebDatabase* web_database, 31 WebDatabase* web_database,
31 PersonalDataManager* personal_data_manager, 32 PersonalDataManager* personal_data_manager,
32 UnrecoverableErrorHandler* error_handler); 33 UnrecoverableErrorHandler* error_handler);
33 34
34 virtual ~AutofillProfileChangeProcessor() {} 35 virtual ~AutofillProfileChangeProcessor();
35 36
36 // Virtual methods from ChangeProcessor class. 37 // Virtual methods from ChangeProcessor class.
37 virtual void ApplyChangesFromSyncModel( 38 virtual void ApplyChangesFromSyncModel(
38 const sync_api::BaseTransaction *write_trans, 39 const sync_api::BaseTransaction *write_trans,
39 const sync_api::SyncManager::ChangeRecord* changes, 40 const sync_api::SyncManager::ChangeRecord* changes,
40 int change_count); 41 int change_count);
41 42
42 virtual void CommitChangesFromSyncModel(); 43 virtual void CommitChangesFromSyncModel();
43 44
44 // Virtual method implemented for the observer class. 45 // Virtual method implemented for the observer class.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 112
112 WebDatabase* web_database_; 113 WebDatabase* web_database_;
113 PersonalDataManager* personal_data_; 114 PersonalDataManager* personal_data_;
114 NotificationRegistrar notification_registrar_; 115 NotificationRegistrar notification_registrar_;
115 }; 116 };
116 117
117 } // namespace browser_sync 118 } // namespace browser_sync
118 119
119 #endif // CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_CHANGE_PROCESSOR_H_ 120 #endif // CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_CHANGE_PROCESSOR_H_
120 121
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/syncer_thread2.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