| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PROXY_DATA_TYPE_CONTROLLER_H__ | 5 #ifndef COMPONENTS_SYNC_DRIVER_PROXY_DATA_TYPE_CONTROLLER_H__ |
| 6 #define COMPONENTS_SYNC_DRIVER_PROXY_DATA_TYPE_CONTROLLER_H__ | 6 #define COMPONENTS_SYNC_DRIVER_PROXY_DATA_TYPE_CONTROLLER_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
| 12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
| 13 #include "components/sync_driver/data_type_controller.h" | 13 #include "components/sync_driver/data_type_controller.h" |
| 14 | 14 |
| 15 namespace sync_driver { | 15 namespace sync_driver { |
| 16 | 16 |
| 17 // Implementation for proxy datatypes. These are datatype that have no | 17 // Implementation for proxy datatypes. These are datatype that have no |
| 18 // representation in sync, and therefore no change processor or syncable | 18 // representation in sync, and therefore no change processor or syncable |
| 19 // service. | 19 // service. |
| 20 class ProxyDataTypeController : public DataTypeController { | 20 class ProxyDataTypeController : public DataTypeController { |
| 21 public: | 21 public: |
| (...skipping 24 matching lines...) Expand all Loading... |
| 46 | 46 |
| 47 // The actual type for this controller. | 47 // The actual type for this controller. |
| 48 syncer::ModelType type_; | 48 syncer::ModelType type_; |
| 49 | 49 |
| 50 DISALLOW_COPY_AND_ASSIGN(ProxyDataTypeController); | 50 DISALLOW_COPY_AND_ASSIGN(ProxyDataTypeController); |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } // namespace sync_driver | 53 } // namespace sync_driver |
| 54 | 54 |
| 55 #endif // COMPONENTS_SYNC_DRIVER_PROXY_DATA_TYPE_CONTROLLER_H__ | 55 #endif // COMPONENTS_SYNC_DRIVER_PROXY_DATA_TYPE_CONTROLLER_H__ |
| OLD | NEW |