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

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

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 7 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 69c53f012d46d916c43a07f39d85c6f10ab88d6e..6cfbd157c6819dff9bea8a798bb2a4fe776cb0c7 100644
--- a/chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc
+++ b/chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc
@@ -22,7 +22,7 @@ namespace keys2 = url_matcher_constants;
TEST(WebRequestConditionTest, CreateCondition) {
// Necessary for TestURLRequest.
- MessageLoop message_loop(MessageLoop::TYPE_IO);
+ base::MessageLoop message_loop(base::MessageLoop::TYPE_IO);
URLMatcher matcher;
std::string error;
@@ -95,7 +95,7 @@ TEST(WebRequestConditionTest, CreateCondition) {
TEST(WebRequestConditionTest, CreateConditionFirstPartyForCookies) {
// Necessary for TestURLRequest.
- MessageLoop message_loop(MessageLoop::TYPE_IO);
+ base::MessageLoop message_loop(base::MessageLoop::TYPE_IO);
URLMatcher matcher;
std::string error;
@@ -139,7 +139,7 @@ TEST(WebRequestConditionTest, CreateConditionFirstPartyForCookies) {
// always fulfilled.
TEST(WebRequestConditionTest, NoUrlAttributes) {
// Necessary for TestURLRequest.
- MessageLoop message_loop(MessageLoop::TYPE_IO);
+ base::MessageLoop message_loop(base::MessageLoop::TYPE_IO);
URLMatcher matcher;
std::string error;
@@ -207,7 +207,7 @@ TEST(WebRequestConditionTest, NoUrlAttributes) {
TEST(WebRequestConditionTest, CreateConditionSet) {
// Necessary for TestURLRequest.
- MessageLoop message_loop(MessageLoop::TYPE_IO);
+ base::MessageLoop message_loop(base::MessageLoop::TYPE_IO);
URLMatcher matcher;
WebRequestConditionSet::AnyVector conditions;
@@ -274,7 +274,7 @@ TEST(WebRequestConditionTest, CreateConditionSet) {
TEST(WebRequestConditionTest, TestPortFilter) {
// Necessary for TestURLRequest.
- MessageLoop message_loop(MessageLoop::TYPE_IO);
+ base::MessageLoop message_loop(base::MessageLoop::TYPE_IO);
URLMatcher matcher;
WebRequestConditionSet::AnyVector conditions;
@@ -331,7 +331,7 @@ TEST(WebRequestConditionTest, TestPortFilter) {
// impossible that both conditions are fulfilled at the same time.
TEST(WebRequestConditionTest, ConditionsWithConflictingStages) {
// Necessary for TestURLRequest.
- MessageLoop message_loop(MessageLoop::TYPE_IO);
+ base::MessageLoop message_loop(base::MessageLoop::TYPE_IO);
URLMatcher matcher;
std::string error;

Powered by Google App Engine
This is Rietveld 408576698