| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_SYNC_ENGINE_IMPL_CYCLE_SYNC_CYCLE_CONTEXT_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_CYCLE_SYNC_CYCLE_CONTEXT_H_ |
| 6 #define COMPONENTS_SYNC_ENGINE_IMPL_CYCLE_SYNC_CYCLE_CONTEXT_H_ | 6 #define COMPONENTS_SYNC_ENGINE_IMPL_CYCLE_SYNC_CYCLE_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 bool client_enabled_pre_commit_update_avoidance, | 49 bool client_enabled_pre_commit_update_avoidance, |
| 50 const std::string& invalidator_client_id); | 50 const std::string& invalidator_client_id); |
| 51 | 51 |
| 52 ~SyncCycleContext(); | 52 ~SyncCycleContext(); |
| 53 | 53 |
| 54 ServerConnectionManager* connection_manager() { return connection_manager_; } | 54 ServerConnectionManager* connection_manager() { return connection_manager_; } |
| 55 syncable::Directory* directory() { return directory_; } | 55 syncable::Directory* directory() { return directory_; } |
| 56 | 56 |
| 57 ModelTypeSet GetEnabledTypes() const; | 57 ModelTypeSet GetEnabledTypes() const; |
| 58 | 58 |
| 59 void SetRoutingInfo(const ModelSafeRoutingInfo& routing_info); |
| 60 |
| 59 ExtensionsActivity* extensions_activity() { | 61 ExtensionsActivity* extensions_activity() { |
| 60 return extensions_activity_.get(); | 62 return extensions_activity_.get(); |
| 61 } | 63 } |
| 62 | 64 |
| 63 DebugInfoGetter* debug_info_getter() { return debug_info_getter_; } | 65 DebugInfoGetter* debug_info_getter() { return debug_info_getter_; } |
| 64 | 66 |
| 65 // Talk notification status. | 67 // Talk notification status. |
| 66 void set_notifications_enabled(bool enabled) { | 68 void set_notifications_enabled(bool enabled) { |
| 67 notifications_enabled_ = enabled; | 69 notifications_enabled_ = enabled; |
| 68 } | 70 } |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 174 |
| 173 // If there's a cookie jar mismatch, whether the cookie jar was empty or not. | 175 // If there's a cookie jar mismatch, whether the cookie jar was empty or not. |
| 174 bool cookie_jar_empty_; | 176 bool cookie_jar_empty_; |
| 175 | 177 |
| 176 DISALLOW_COPY_AND_ASSIGN(SyncCycleContext); | 178 DISALLOW_COPY_AND_ASSIGN(SyncCycleContext); |
| 177 }; | 179 }; |
| 178 | 180 |
| 179 } // namespace syncer | 181 } // namespace syncer |
| 180 | 182 |
| 181 #endif // COMPONENTS_SYNC_ENGINE_IMPL_CYCLE_SYNC_CYCLE_CONTEXT_H_ | 183 #endif // COMPONENTS_SYNC_ENGINE_IMPL_CYCLE_SYNC_CYCLE_CONTEXT_H_ |
| OLD | NEW |