diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-03 02:27:01 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-03 02:27:01 +0000 |
commit | 0d3dc8e2804b0adc4f572944db027929e2b5af5a (patch) | |
tree | efe4a3ecde226002698017cceba2952b8979a66f /chrome/browser/safe_browsing | |
parent | 8dc291a4dbeed088fbdc36115b250c5f83d3edde (diff) | |
download | chromium_src-0d3dc8e2804b0adc4f572944db027929e2b5af5a.zip chromium_src-0d3dc8e2804b0adc4f572944db027929e2b5af5a.tar.gz chromium_src-0d3dc8e2804b0adc4f572944db027929e2b5af5a.tar.bz2 |
Fifth patch in getting rid of caching MessageLoop pointers.
BUG=25354
Review URL: http://codereview.chromium.org/345037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30790 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/safe_browsing')
-rw-r--r-- | chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc b/chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc index b3463e3..988dd25 100644 --- a/chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc +++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc @@ -75,7 +75,8 @@ class SafeBrowsingBlockingPageTest : public RenderViewHostTestHarness, }; SafeBrowsingBlockingPageTest() - : io_thread_(ChromeThread::IO, MessageLoop::current()) { + : ui_thread_(ChromeThread::UI, MessageLoop::current()), + io_thread_(ChromeThread::IO, MessageLoop::current()) { ResetUserResponse(); service_ = new SafeBrowsingService(); } @@ -159,6 +160,7 @@ class SafeBrowsingBlockingPageTest : public RenderViewHostTestHarness, UserResponse user_response_; scoped_refptr<SafeBrowsingService> service_; TestSafeBrowsingBlockingPageFactory factory_; + ChromeThread ui_thread_; ChromeThread io_thread_; }; |