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

Unified Diff: chrome/browser/sync/glue/non_frontend_data_type_controller.h

Issue 10248006: [Sync] - add some debug info to track down issue 120709 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For submitting. Created 8 years, 8 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 | « no previous file | chrome/browser/sync/glue/non_frontend_data_type_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | chrome/browser/sync/glue/non_frontend_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698