Index: chrome/browser/sync/glue/non_ui_data_type_controller.h |
diff --git a/chrome/browser/sync/glue/non_ui_data_type_controller.h b/chrome/browser/sync/glue/non_ui_data_type_controller.h |
index 696aee246d6b3c4edc0e908923ed391034da2b1a..f7c8d68d4429af68d3aa769af114a25a43eddc27 100644 |
--- a/chrome/browser/sync/glue/non_ui_data_type_controller.h |
+++ b/chrome/browser/sync/glue/non_ui_data_type_controller.h |
@@ -99,6 +99,10 @@ class NonUIDataTypeController : public DataTypeController { |
// Record causes of start failure. |
virtual void RecordStartFailure(StartResult result); |
+ // To allow unit tests to control thread interaction during non-ui startup |
+ // and shutdown, use a factory method to create the SharedChangeProcessor. |
+ virtual SharedChangeProcessor* CreateSharedChangeProcessor(); |
+ |
Profile* profile() const { return profile_; } |
private: |