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

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

Issue 11410066: Revert 167337 - Move url_request_test_util into net namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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_action_unittest.cc
===================================================================
--- chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc (revision 167354)
+++ chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc (working copy)
@@ -123,7 +123,7 @@
TEST(WebRequestActionTest, TestPermissions) {
// Necessary for TestURLRequest.
MessageLoop message_loop(MessageLoop::TYPE_IO);
- net::TestURLRequestContext context;
+ TestURLRequestContext context;
std::string error;
bool bad_message = false;
@@ -146,7 +146,7 @@
ASSERT_TRUE(action.get());
// Check that redirect works on regular URLs but not on protected URLs.
- net::TestURLRequest regular_request(GURL("http://test.com"), NULL, &context);
+ TestURLRequest regular_request(GURL("http://test.com"), NULL, &context);
std::list<LinkedPtrEventResponseDelta> deltas =
action_set->CreateDeltas(
NULL, "ext1",
@@ -154,8 +154,8 @@
false, base::Time());
EXPECT_EQ(1u, deltas.size());
- net::TestURLRequest protected_request(GURL("http://clients1.google.com"),
- NULL, &context);
+ TestURLRequest protected_request(GURL("http://clients1.google.com"),
+ NULL, &context);
deltas = action_set->CreateDeltas(
NULL, "ext1",
WebRequestRule::RequestData(&protected_request, ON_BEFORE_REQUEST),

Powered by Google App Engine
This is Rietveld 408576698