OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_DATA_TYPE_CONTROLLER_H__ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_AUTOFILL_DATA_TYPE_CONTROLLER_H__ |
6 #define CHROME_BROWSER_SYNC_GLUE_AUTOFILL_DATA_TYPE_CONTROLLER_H__ | 6 #define CHROME_BROWSER_SYNC_GLUE_AUTOFILL_DATA_TYPE_CONTROLLER_H__ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
13 #include "base/waitable_event.h" | 13 #include "base/synchronization/waitable_event.h" |
14 #include "chrome/browser/autofill/personal_data_manager.h" | 14 #include "chrome/browser/autofill/personal_data_manager.h" |
15 #include "chrome/browser/sync/profile_sync_factory.h" | 15 #include "chrome/browser/sync/profile_sync_factory.h" |
16 #include "chrome/browser/sync/profile_sync_service.h" | 16 #include "chrome/browser/sync/profile_sync_service.h" |
17 #include "chrome/browser/sync/glue/data_type_controller.h" | 17 #include "chrome/browser/sync/glue/data_type_controller.h" |
18 | 18 |
19 class Profile; | 19 class Profile; |
20 class ProfileSyncFactory; | 20 class ProfileSyncFactory; |
21 class ProfileSyncService; | 21 class ProfileSyncService; |
22 | 22 |
23 namespace browser_sync { | 23 namespace browser_sync { |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 // Barrier to ensure that the datatype has been stopped on the DB thread | 108 // Barrier to ensure that the datatype has been stopped on the DB thread |
109 // from the UI thread. | 109 // from the UI thread. |
110 base::WaitableEvent datatype_stopped_; | 110 base::WaitableEvent datatype_stopped_; |
111 | 111 |
112 DISALLOW_COPY_AND_ASSIGN(AutofillDataTypeController); | 112 DISALLOW_COPY_AND_ASSIGN(AutofillDataTypeController); |
113 }; | 113 }; |
114 | 114 |
115 } // namespace browser_sync | 115 } // namespace browser_sync |
116 | 116 |
117 #endif // CHROME_BROWSER_SYNC_GLUE_AUTOFILL_DATA_TYPE_CONTROLLER_H__ | 117 #endif // CHROME_BROWSER_SYNC_GLUE_AUTOFILL_DATA_TYPE_CONTROLLER_H__ |
OLD | NEW |