Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Unified Diff: content/browser/site_instance_unittest.cc

Issue 8400060: Switch content tests to use BrowserThreadImpl directly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to lkgr Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/site_instance_unittest.cc
diff --git a/content/browser/site_instance_unittest.cc b/content/browser/site_instance_unittest.cc
index 0185dafc68121b093d2ec63e7366c27ac8fd2b69..bd7cff131f0a38fc897ded249ed3dccbec5467d1 100644
--- a/content/browser/site_instance_unittest.cc
+++ b/content/browser/site_instance_unittest.cc
@@ -5,6 +5,7 @@
#include "base/compiler_specific.h"
#include "base/stl_util.h"
#include "base/string16.h"
+#include "content/browser/browser_thread_impl.h"
#include "content/browser/browsing_instance.h"
#include "content/browser/child_process_security_policy.h"
#include "content/browser/mock_content_browser_client.h"
@@ -19,10 +20,11 @@
#include "content/public/common/content_constants.h"
#include "content/public/common/url_constants.h"
#include "content/test/test_browser_context.h"
-#include "content/test/test_browser_thread.h"
#include "googleurl/src/url_util.h"
#include "testing/gtest/include/gtest/gtest.h"
+using content::BrowserThreadImpl;
+
namespace {
const char kSameAsAnyInstanceURL[] = "about:internets";
@@ -115,7 +117,7 @@ class SiteInstanceTest : public testing::Test {
private:
MessageLoopForUI message_loop_;
- content::TestBrowserThread ui_thread_;
+ BrowserThreadImpl ui_thread_;
SiteInstanceTestBrowserClient browser_client_;
content::ContentBrowserClient* old_browser_client_;
« no previous file with comments | « content/browser/resolve_proxy_msg_helper_unittest.cc ('k') | content/browser/speech/speech_recognizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698