summaryrefslogtreecommitdiffstats
path: root/chrome/test/testing_profile.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-27 16:15:44 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-27 16:15:44 +0000
commit0bfc29a5e1dc622ef1ca3601296738112a9a9abf (patch)
treec2dc97f51a06d57db01cee5e1164cf0b81f9dc2a /chrome/test/testing_profile.h
parent930709556e52f09d355aaf0c7b00e90d6042d4d9 (diff)
downloadchromium_src-0bfc29a5e1dc622ef1ca3601296738112a9a9abf.zip
chromium_src-0bfc29a5e1dc622ef1ca3601296738112a9a9abf.tar.gz
chromium_src-0bfc29a5e1dc622ef1ca3601296738112a9a9abf.tar.bz2
Searching by keyword now generates a visit against the site with a
transition type of TAB_TO_SEARCH. This visit increments the typed count and ensures if you use TAB_TO_SEARCH you still get autocompleted to the site. I'll add some tests for this, but want to make sure we're ok with it before I do that. BUG=3633 TEST=will be covered by unit tests. Review URL: http://codereview.chromium.org/93087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14609 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/testing_profile.h')
-rw-r--r--chrome/test/testing_profile.h5
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;