| 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_MODEL_ASSOCIATION_MANAGER_H__ | 5 #ifndef COMPONENTS_SYNC_DRIVER_MODEL_ASSOCIATION_MANAGER_H__ |
| 6 #define CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATION_MANAGER_H__ | 6 #define COMPONENTS_SYNC_DRIVER_MODEL_ASSOCIATION_MANAGER_H__ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 11 #include "base/timer/timer.h" | 11 #include "base/timer/timer.h" |
| 12 | 12 |
| 13 #include "components/sync_driver/data_type_manager.h" | 13 #include "components/sync_driver/data_type_manager.h" |
| 14 #include "sync/internal_api/public/data_type_association_stats.h" | 14 #include "sync/internal_api/public/data_type_association_stats.h" |
| 15 #include "sync/internal_api/public/util/weak_handle.h" | 15 #include "sync/internal_api/public/util/weak_handle.h" |
| 16 | 16 |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 // Timer to track and limit how long a datatype takes to model associate. | 148 // Timer to track and limit how long a datatype takes to model associate. |
| 149 base::OneShotTimer<ModelAssociationManager> timer_; | 149 base::OneShotTimer<ModelAssociationManager> timer_; |
| 150 | 150 |
| 151 base::WeakPtrFactory<ModelAssociationManager> weak_ptr_factory_; | 151 base::WeakPtrFactory<ModelAssociationManager> weak_ptr_factory_; |
| 152 | 152 |
| 153 DataTypeManager::ConfigureStatus configure_status_; | 153 DataTypeManager::ConfigureStatus configure_status_; |
| 154 | 154 |
| 155 DISALLOW_COPY_AND_ASSIGN(ModelAssociationManager); | 155 DISALLOW_COPY_AND_ASSIGN(ModelAssociationManager); |
| 156 }; | 156 }; |
| 157 } // namespace browser_sync | 157 } // namespace browser_sync |
| 158 #endif // CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATION_MANAGER_H__ | 158 #endif // COMPONENTS_SYNC_DRIVER_MODEL_ASSOCIATION_MANAGER_H__ |
| OLD | NEW |