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 COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_DATA_TYPE_CONTROLLER_H
__ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_DATA_TYPE_CONTROLLER_H
__ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_DATA_TYPE_CONTROLLER_H
__ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_DATA_TYPE_CONTROLLER_H
__ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/single_thread_task_runner.h" |
14 #include "components/sync/driver/async_directory_type_controller.h" | 15 #include "components/sync/driver/async_directory_type_controller.h" |
15 | 16 |
16 namespace autofill { | 17 namespace autofill { |
17 class AutofillWebDataService; | 18 class AutofillWebDataService; |
18 } // namespace autofill | 19 } // namespace autofill |
19 | 20 |
20 namespace browser_sync { | 21 namespace browser_sync { |
21 | 22 |
22 // A class that manages the startup and shutdown of autofill sync. | 23 // A class that manages the startup and shutdown of autofill sync. |
23 class AutofillDataTypeController : public syncer::AsyncDirectoryTypeController { | 24 class AutofillDataTypeController : public syncer::AsyncDirectoryTypeController { |
(...skipping 20 matching lines...) Expand all Loading... |
44 | 45 |
45 // A reference to the AutofillWebDataService for this controller. | 46 // A reference to the AutofillWebDataService for this controller. |
46 scoped_refptr<autofill::AutofillWebDataService> web_data_service_; | 47 scoped_refptr<autofill::AutofillWebDataService> web_data_service_; |
47 | 48 |
48 DISALLOW_COPY_AND_ASSIGN(AutofillDataTypeController); | 49 DISALLOW_COPY_AND_ASSIGN(AutofillDataTypeController); |
49 }; | 50 }; |
50 | 51 |
51 } // namespace browser_sync | 52 } // namespace browser_sync |
52 | 53 |
53 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_DATA_TYPE_CONTROLLE
R_H__ | 54 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_DATA_TYPE_CONTROLLE
R_H__ |
OLD | NEW |