diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-31 16:28:03 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-31 16:28:03 +0000 |
commit | 9214555c0d660fce997df9cb18b25ca4a08f9136 (patch) | |
tree | 5816c65616ca842f9a033f6f1b214b484cee9ae8 /content/browser/geolocation | |
parent | 0210e8198c9cd5b2b9fb032c91c3147ec9788a15 (diff) | |
download | chromium_src-9214555c0d660fce997df9cb18b25ca4a08f9136.zip chromium_src-9214555c0d660fce997df9cb18b25ca4a08f9136.tar.gz chromium_src-9214555c0d660fce997df9cb18b25ca4a08f9136.tar.bz2 |
Switch content tests to use BrowserThreadImpl directly.
BUG=98716
Review URL: http://codereview.chromium.org/8400060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107964 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/geolocation')
-rw-r--r-- | content/browser/geolocation/gps_location_provider_unittest_linux.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/content/browser/geolocation/gps_location_provider_unittest_linux.cc b/content/browser/geolocation/gps_location_provider_unittest_linux.cc index 3116cf3..b8b8894 100644 --- a/content/browser/geolocation/gps_location_provider_unittest_linux.cc +++ b/content/browser/geolocation/gps_location_provider_unittest_linux.cc @@ -2,11 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "content/browser/browser_thread_impl.h" #include "content/browser/geolocation/gps_location_provider_linux.h" #include "content/browser/geolocation/libgps_wrapper_linux.h" -#include "content/test/test_browser_thread.h" #include "testing/gtest/include/gtest/gtest.h" +using content::BrowserThreadImpl; + struct gps_data_t { }; @@ -66,7 +68,7 @@ class GeolocationGpsProviderLinuxTests : public testing::Test { protected: MessageLoop message_loop_; - content::TestBrowserThread ui_thread_; + BrowserThreadImpl ui_thread_; LocaionProviderListenerLoopQuitter location_listener_; scoped_ptr<GpsLocationProviderLinux> provider_; }; |