OLD | NEW |
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 | 4 |
5 #ifndef CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_DATA_TYPE_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_DATA_TYPE_CONTROLLER_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_DATA_TYPE_CONTROLLER_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_DATA_TYPE_CONTROLLER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/scoped_observer.h" | 10 #include "base/scoped_observer.h" |
11 #include "chrome/browser/sync/glue/non_ui_data_type_controller.h" | 11 #include "chrome/browser/sync/glue/non_ui_data_type_controller.h" |
12 #include "components/autofill/browser/personal_data_manager_observer.h" | 12 #include "components/autofill/core/browser/personal_data_manager_observer.h" |
13 | 13 |
14 namespace autofill { | 14 namespace autofill { |
15 class PersonalDataManager; | 15 class PersonalDataManager; |
16 } // namespace autofill | 16 } // namespace autofill |
17 | 17 |
18 namespace browser_sync { | 18 namespace browser_sync { |
19 | 19 |
20 class AutofillProfileDataTypeController | 20 class AutofillProfileDataTypeController |
21 : public NonUIDataTypeController, | 21 : public NonUIDataTypeController, |
22 public autofill::PersonalDataManagerObserver { | 22 public autofill::PersonalDataManagerObserver { |
(...skipping 26 matching lines...) Expand all Loading... |
49 | 49 |
50 autofill::PersonalDataManager* personal_data_; | 50 autofill::PersonalDataManager* personal_data_; |
51 bool callback_registered_; | 51 bool callback_registered_; |
52 | 52 |
53 DISALLOW_COPY_AND_ASSIGN(AutofillProfileDataTypeController); | 53 DISALLOW_COPY_AND_ASSIGN(AutofillProfileDataTypeController); |
54 }; | 54 }; |
55 | 55 |
56 } // namespace browser_sync | 56 } // namespace browser_sync |
57 | 57 |
58 #endif // CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_DATA_TYPE_CONTROLLER_H_ | 58 #endif // CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_DATA_TYPE_CONTROLLER_H_ |
OLD | NEW |