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 SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 5 #ifndef SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 // These are for interacting with chrome://sync-internals. | 328 // These are for interacting with chrome://sync-internals. |
329 JsSyncManagerObserver js_sync_manager_observer_; | 329 JsSyncManagerObserver js_sync_manager_observer_; |
330 JsMutationEventObserver js_mutation_event_observer_; | 330 JsMutationEventObserver js_mutation_event_observer_; |
331 JsSyncEncryptionHandlerObserver js_sync_encryption_handler_observer_; | 331 JsSyncEncryptionHandlerObserver js_sync_encryption_handler_observer_; |
332 | 332 |
333 // This is for keeping track of client events to send to the server. | 333 // This is for keeping track of client events to send to the server. |
334 DebugInfoEventListener debug_info_event_listener_; | 334 DebugInfoEventListener debug_info_event_listener_; |
335 | 335 |
336 ProtocolEventBuffer protocol_event_buffer_; | 336 ProtocolEventBuffer protocol_event_buffer_; |
337 | 337 |
338 scoped_ptr<UnrecoverableErrorHandler> unrecoverable_error_handler_; | |
339 base::Closure report_unrecoverable_error_function_; | 338 base::Closure report_unrecoverable_error_function_; |
340 | 339 |
341 // Sync's encryption handler. It tracks the set of encrypted types, manages | 340 // Sync's encryption handler. It tracks the set of encrypted types, manages |
342 // changing passphrases, and in general handles sync-specific interactions | 341 // changing passphrases, and in general handles sync-specific interactions |
343 // with the cryptographer. | 342 // with the cryptographer. |
344 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; | 343 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; |
345 | 344 |
346 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; | 345 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; |
347 | 346 |
348 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 347 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
349 }; | 348 }; |
350 | 349 |
351 } // namespace syncer | 350 } // namespace syncer |
352 | 351 |
353 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 352 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
OLD | NEW |