diff options
Diffstat (limited to 'chrome/browser/sync/profile_sync_test_util.h')
-rw-r--r-- | chrome/browser/sync/profile_sync_test_util.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/sync/profile_sync_test_util.h b/chrome/browser/sync/profile_sync_test_util.h index 7c73ed1..db67101 100644 --- a/chrome/browser/sync/profile_sync_test_util.h +++ b/chrome/browser/sync/profile_sync_test_util.h @@ -5,6 +5,8 @@ #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_TEST_UTIL_H_ #define CHROME_BROWSER_SYNC_PROFILE_SYNC_TEST_UTIL_H_ +#include <string> + #include "chrome/browser/webdata/web_database.h" #include "chrome/browser/sync/glue/bookmark_change_processor.h" #include "chrome/browser/sync/glue/bookmark_data_type_controller.h" @@ -23,6 +25,11 @@ ACTION(MakeDataTypeManager) { return new browser_sync::DataTypeManagerImpl(arg0); } +ACTION_P(InvokeTask, task) { + if (task) + task->Run(); +} + template <class ModelAssociatorImpl> class TestModelAssociator : public ModelAssociatorImpl { public: |