summaryrefslogtreecommitdiffstats
path: root/content/browser/appcache
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-31 16:28:03 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-31 16:28:03 +0000
commit9214555c0d660fce997df9cb18b25ca4a08f9136 (patch)
tree5816c65616ca842f9a033f6f1b214b484cee9ae8 /content/browser/appcache
parent0210e8198c9cd5b2b9fb032c91c3147ec9788a15 (diff)
downloadchromium_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/appcache')
-rw-r--r--content/browser/appcache/chrome_appcache_service_unittest.cc12
1 files changed, 7 insertions, 5 deletions
diff --git a/content/browser/appcache/chrome_appcache_service_unittest.cc b/content/browser/appcache/chrome_appcache_service_unittest.cc
index 4df4a6e..bb1cb9b 100644
--- a/content/browser/appcache/chrome_appcache_service_unittest.cc
+++ b/content/browser/appcache/chrome_appcache_service_unittest.cc
@@ -6,8 +6,8 @@
#include "base/memory/ref_counted.h"
#include "base/message_loop.h"
#include "base/scoped_temp_dir.h"
+#include "content/browser/browser_thread_impl.h"
#include "content/browser/appcache/chrome_appcache_service.h"
-#include "content/test/test_browser_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "webkit/appcache/appcache_database.h"
#include "webkit/appcache/appcache_storage_impl.h"
@@ -16,6 +16,8 @@
#include <set>
+using content::BrowserThreadImpl;
+
namespace {
const FilePath::CharType kTestingAppCacheDirname[] =
FILE_PATH_LITERAL("Application Cache");
@@ -56,10 +58,10 @@ class ChromeAppCacheServiceTest : public testing::Test {
const GURL kSessionOnlyManifestURL;
private:
- content::TestBrowserThread db_thread_;
- content::TestBrowserThread file_thread_;
- content::TestBrowserThread cache_thread_;
- content::TestBrowserThread io_thread_;
+ BrowserThreadImpl db_thread_;
+ BrowserThreadImpl file_thread_;
+ BrowserThreadImpl cache_thread_;
+ BrowserThreadImpl io_thread_;
};
scoped_refptr<ChromeAppCacheService>