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

Unified Diff: chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc

Issue 136683004: Removes MessageLoop::TYPE_XXX where possible (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resolve merge Created 6 years, 11 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/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc
diff --git a/chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc b/chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc
index d49a32d4032482911dad34d740c3561c75ea9379..63c9e1bda3dba92fa45d6fbaa10933520a357236 100644
--- a/chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc
+++ b/chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc
@@ -23,7 +23,7 @@ namespace extensions {
TEST(WebRequestConditionTest, CreateCondition) {
// Necessary for TestURLRequest.
- base::MessageLoop message_loop(base::MessageLoop::TYPE_IO);
+ base::MessageLoopForIO message_loop;
URLMatcher matcher;
std::string error;
@@ -101,7 +101,7 @@ TEST(WebRequestConditionTest, CreateCondition) {
TEST(WebRequestConditionTest, CreateConditionFirstPartyForCookies) {
// Necessary for TestURLRequest.
- base::MessageLoop message_loop(base::MessageLoop::TYPE_IO);
+ base::MessageLoopForIO message_loop;
URLMatcher matcher;
std::string error;
@@ -147,7 +147,7 @@ TEST(WebRequestConditionTest, CreateConditionFirstPartyForCookies) {
// always fulfilled.
TEST(WebRequestConditionTest, NoUrlAttributes) {
// Necessary for TestURLRequest.
- base::MessageLoop message_loop(base::MessageLoop::TYPE_IO);
+ base::MessageLoopForIO message_loop;
URLMatcher matcher;
std::string error;
@@ -220,7 +220,7 @@ TEST(WebRequestConditionTest, NoUrlAttributes) {
TEST(WebRequestConditionTest, CreateConditionSet) {
// Necessary for TestURLRequest.
- base::MessageLoop message_loop(base::MessageLoop::TYPE_IO);
+ base::MessageLoopForIO message_loop;
URLMatcher matcher;
WebRequestConditionSet::AnyVector conditions;
@@ -289,7 +289,7 @@ TEST(WebRequestConditionTest, CreateConditionSet) {
TEST(WebRequestConditionTest, TestPortFilter) {
// Necessary for TestURLRequest.
- base::MessageLoop message_loop(base::MessageLoop::TYPE_IO);
+ base::MessageLoopForIO message_loop;
URLMatcher matcher;
WebRequestConditionSet::AnyVector conditions;
@@ -349,7 +349,7 @@ TEST(WebRequestConditionTest, TestPortFilter) {
// impossible that both conditions are fulfilled at the same time.
TEST(WebRequestConditionTest, ConditionsWithConflictingStages) {
// Necessary for TestURLRequest.
- base::MessageLoop message_loop(base::MessageLoop::TYPE_IO);
+ base::MessageLoopForIO message_loop;
URLMatcher matcher;
std::string error;

Powered by Google App Engine
This is Rietveld 408576698