| Index: chrome/browser/sync/glue/non_frontend_data_type_controller.h
|
| diff --git a/chrome/browser/sync/glue/non_frontend_data_type_controller.h b/chrome/browser/sync/glue/non_frontend_data_type_controller.h
|
| index 39e9d6697da1a16b0782eabf3002d4a348d46b0d..feb4443c755648e328c4b2820e579f483e7848f3 100644
|
| --- a/chrome/browser/sync/glue/non_frontend_data_type_controller.h
|
| +++ b/chrome/browser/sync/glue/non_frontend_data_type_controller.h
|
| @@ -149,6 +149,9 @@ class NonFrontendDataTypeController : public DataTypeController {
|
| // Note: this is performed on the datatype's thread.
|
| void StartAssociation();
|
|
|
| + // Helper method to stop associating.
|
| + void StopWhileAssociating();
|
| +
|
| // Post the StopAssociation task to the thread the datatype lives on.
|
| // Note: this is performed on the frontend (UI) thread.
|
| // Return value: True if task posted successfully, False otherwise.
|
| @@ -177,6 +180,10 @@ class NonFrontendDataTypeController : public DataTypeController {
|
| // from the UI thread.
|
| base::WaitableEvent datatype_stopped_;
|
|
|
| + // This is added for debugging purpose.
|
| + // TODO(lipalani): Remove this after debugging.
|
| + base::WaitableEvent start_association_called_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(NonFrontendDataTypeController);
|
| };
|
|
|
|
|