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

Unified Diff: sync/internal_api/public/sync_manager.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | sync/internal_api/sync_backup_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/sync_manager.h
diff --git a/sync/internal_api/public/sync_manager.h b/sync/internal_api/public/sync_manager.h
index 9a841f4edb37fc179aa969398c7a1c4a5b3c340b..2f088fa5869b93e52fdba162c79969d29ecc8abe 100644
--- a/sync/internal_api/public/sync_manager.h
+++ b/sync/internal_api/public/sync_manager.h
@@ -30,7 +30,6 @@
#include "sync/internal_api/public/shutdown_reason.h"
#include "sync/internal_api/public/sync_context_proxy.h"
#include "sync/internal_api/public/sync_encryption_handler.h"
-#include "sync/internal_api/public/util/unrecoverable_error_handler.h"
#include "sync/internal_api/public/util/weak_handle.h"
#include "sync/protocol/sync_protocol_error.h"
@@ -54,6 +53,7 @@ class ProtocolEvent;
class SyncEncryptionHandler;
class SyncScheduler;
class TypeDebugInfoObserver;
+class UnrecoverableErrorHandler;
struct Experiments;
struct UserShare;
@@ -260,7 +260,7 @@ class SYNC_EXPORT SyncManager {
// Must outlive SyncManager.
Encryptor* encryptor;
- scoped_ptr<UnrecoverableErrorHandler> unrecoverable_error_handler;
+ WeakHandle<UnrecoverableErrorHandler> unrecoverable_error_handler;
base::Closure report_unrecoverable_error_function;
// Carries shutdown requests across threads and will be used to cut short
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | sync/internal_api/sync_backup_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698