| Index: trunk/src/components/sync_driver/non_ui_data_type_controller.h
|
| ===================================================================
|
| --- trunk/src/components/sync_driver/non_ui_data_type_controller.h (revision 289111)
|
| +++ trunk/src/components/sync_driver/non_ui_data_type_controller.h (working copy)
|
| @@ -27,6 +27,7 @@
|
| NonUIDataTypeController(
|
| scoped_refptr<base::MessageLoopProxy> ui_thread,
|
| const base::Closure& error_callback,
|
| + const DisableTypeCallback& disable_callback,
|
| SyncApiComponentFactory* sync_factory);
|
|
|
| // DataTypeController interface.
|
| @@ -39,8 +40,9 @@
|
| virtual ChangeProcessor* GetChangeProcessor() const OVERRIDE;
|
| virtual std::string name() const OVERRIDE;
|
| virtual State state() const OVERRIDE;
|
| - virtual void OnSingleDataTypeUnrecoverableError(
|
| - const syncer::SyncError& error) OVERRIDE;
|
| + virtual void OnSingleDatatypeUnrecoverableError(
|
| + const tracked_objects::Location& from_here,
|
| + const std::string& message) OVERRIDE;
|
|
|
| protected:
|
| // For testing only.
|
| @@ -123,7 +125,8 @@
|
| // Disable this type with the sync service. Should only be invoked in case of
|
| // an unrecoverable error.
|
| // Note: this is performed on the UI thread.
|
| - void DisableImpl(const syncer::SyncError& error);
|
| + void DisableImpl(const tracked_objects::Location& from_here,
|
| + const std::string& message);
|
|
|
| SyncApiComponentFactory* const sync_factory_;
|
|
|
|
|