| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_SYNC_DRIVER_DIRECTORY_DATA_TYPE_CONTROLLER_H__ | 5 #ifndef COMPONENTS_SYNC_DRIVER_DIRECTORY_DATA_TYPE_CONTROLLER_H__ |
| 6 #define COMPONENTS_SYNC_DRIVER_DIRECTORY_DATA_TYPE_CONTROLLER_H__ | 6 #define COMPONENTS_SYNC_DRIVER_DIRECTORY_DATA_TYPE_CONTROLLER_H__ |
| 7 | 7 |
| 8 #include "components/sync_driver/data_type_controller.h" | 8 #include "components/sync_driver/data_type_controller.h" |
| 9 | 9 |
| 10 #include "sync/internal_api/public/engine/model_safe_worker.h" | 10 #include "components/sync/engine/model_safe_worker.h" |
| 11 | 11 |
| 12 namespace sync_driver { | 12 namespace sync_driver { |
| 13 class ChangeProcessor; | 13 class ChangeProcessor; |
| 14 | 14 |
| 15 // Base class for Directory based Data type controllers. | 15 // Base class for Directory based Data type controllers. |
| 16 class DirectoryDataTypeController : public DataTypeController { | 16 class DirectoryDataTypeController : public DataTypeController { |
| 17 public: | 17 public: |
| 18 // DataTypeController implementation. | 18 // DataTypeController implementation. |
| 19 bool ShouldLoadModelBeforeConfigure() const override; | 19 bool ShouldLoadModelBeforeConfigure() const override; |
| 20 | 20 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 50 DirectoryDataTypeController( | 50 DirectoryDataTypeController( |
| 51 const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread, | 51 const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread, |
| 52 const base::Closure& error_callback); | 52 const base::Closure& error_callback); |
| 53 | 53 |
| 54 ~DirectoryDataTypeController() override; | 54 ~DirectoryDataTypeController() override; |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 } // namespace sync_driver | 57 } // namespace sync_driver |
| 58 | 58 |
| 59 #endif // COMPONENTS_SYNC_DRIVER_DIRECTORY_DATA_TYPE_CONTROLLER_H__ | 59 #endif // COMPONENTS_SYNC_DRIVER_DIRECTORY_DATA_TYPE_CONTROLLER_H__ |
| OLD | NEW |