Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: sync/internal_api/sync_manager_impl.h

Issue 1275743002: [Sync] Remove backend unrecoverable error handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix leak Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sync/internal_api/sync_backup_manager.cc ('k') | sync/internal_api/sync_manager_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « sync/internal_api/sync_backup_manager.cc ('k') | sync/internal_api/sync_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698