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

Unified Diff: chrome/browser/content_settings/content_settings_default_provider_unittest.cc

Issue 615083004: Use ThreadChecker rather than DCHECK_CURRENTLY_ON. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DCHECK testing_profile Created 6 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: chrome/browser/content_settings/content_settings_default_provider_unittest.cc
diff --git a/chrome/browser/content_settings/content_settings_default_provider_unittest.cc b/chrome/browser/content_settings/content_settings_default_provider_unittest.cc
index c0a2f63ca8edaa20a7ec42a6ca349e0c9fb5031a..0572fa62ba28b4d17a790606154af77cef412fde 100644
--- a/chrome/browser/content_settings/content_settings_default_provider_unittest.cc
+++ b/chrome/browser/content_settings/content_settings_default_provider_unittest.cc
@@ -11,26 +11,21 @@
#include "chrome/browser/content_settings/content_settings_utils.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/testing_profile.h"
-#include "content/public/test/test_browser_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
using ::testing::_;
-using content::BrowserThread;
class DefaultProviderTest : public testing::Test {
public:
DefaultProviderTest()
- : ui_thread_(BrowserThread::UI, &message_loop_),
- provider_(profile_.GetPrefs(), false) {
+ : provider_(profile_.GetPrefs(), false) {
}
virtual ~DefaultProviderTest() {
provider_.ShutdownOnUIThread();
}
protected:
- base::MessageLoop message_loop_;
- content::TestBrowserThread ui_thread_;
TestingProfile profile_;
content_settings::DefaultProvider provider_;
};

Powered by Google App Engine
This is Rietveld 408576698