Index: chrome/browser/sync/glue/sync_backend_host_impl.h |
diff --git a/chrome/browser/sync/glue/sync_backend_host_impl.h b/chrome/browser/sync/glue/sync_backend_host_impl.h |
index b8e3b07b028a5f0e0f3af3154b43e365069a1ca0..3f1501838457c4a3c0a0552715bd70d613796ed3 100644 |
--- a/chrome/browser/sync/glue/sync_backend_host_impl.h |
+++ b/chrome/browser/sync/glue/sync_backend_host_impl.h |
@@ -24,7 +24,6 @@ |
#include "sync/internal_api/public/sessions/sync_session_snapshot.h" |
#include "sync/internal_api/public/sessions/type_debug_info_observer.h" |
#include "sync/internal_api/public/sync_manager.h" |
-#include "sync/internal_api/public/util/unrecoverable_error_handler.h" |
#include "sync/internal_api/public/util/weak_handle.h" |
#include "sync/protocol/encryption.pb.h" |
#include "sync/protocol/sync_protocol_error.h" |
@@ -44,6 +43,7 @@ class InvalidationService; |
namespace syncer { |
class NetworkResources; |
class SyncManagerFactory; |
+class UnrecoverableErrorHandler; |
} |
namespace sync_driver { |
@@ -86,7 +86,8 @@ class SyncBackendHostImpl |
const syncer::SyncCredentials& credentials, |
bool delete_sync_data_folder, |
scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory, |
- scoped_ptr<syncer::UnrecoverableErrorHandler> unrecoverable_error_handler, |
+ const syncer::WeakHandle<syncer::UnrecoverableErrorHandler>& |
+ unrecoverable_error_handler, |
const base::Closure& report_unrecoverable_error_function, |
syncer::NetworkResources* network_resources, |
scoped_ptr<syncer::SyncEncryptionHandler::NigoriState> saved_nigori_state) |