diff options
Diffstat (limited to 'chrome/test/testing_profile.h')
-rw-r--r-- | chrome/test/testing_profile.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h index 416d0db..792402a 100644 --- a/chrome/test/testing_profile.h +++ b/chrome/test/testing_profile.h @@ -181,6 +181,11 @@ class TestingProfile : public Profile { virtual void InitExtensions() { } + // Schedules a task on the history backend and runs a nested loop until the + // task is processed. This has the effect of blocking the caller until the + // history service processes all pending requests. + void BlockUntilHistoryProcessesPendingRequests(); + #ifdef CHROME_PERSONALIZATION virtual ProfilePersonalization* GetProfilePersonalization() { return NULL; |