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

Unified Diff: chrome/browser/extensions/user_script_listener_unittest.cc

Issue 12328079: Update TestURLRequest constructor interface in extensions unit tests. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebase onto master. Created 7 years, 9 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
« no previous file with comments | « chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/user_script_listener_unittest.cc
diff --git a/chrome/browser/extensions/user_script_listener_unittest.cc b/chrome/browser/extensions/user_script_listener_unittest.cc
index 0f0f159ee88253aa32600e246dece79aa4a07510..b44664640add1a9caa67c127a6980cbc0ffceba9 100644
--- a/chrome/browser/extensions/user_script_listener_unittest.cc
+++ b/chrome/browser/extensions/user_script_listener_unittest.cc
@@ -159,7 +159,7 @@ class UserScriptListenerTest : public ExtensionServiceTestBase {
net::TestURLRequestContext* context) {
GURL url(url_string);
net::TestURLRequest* request =
- new net::TestURLRequest(url, delegate, context);
+ new net::TestURLRequest(url, delegate, context, NULL);
ResourceThrottle* throttle =
listener_->CreateResourceThrottle(url, ResourceType::MAIN_FRAME);
@@ -325,7 +325,7 @@ TEST_F(UserScriptListenerTest, ResumeBeforeStart) {
net::TestURLRequestContext context;
GURL url(kMatchingUrl);
scoped_ptr<net::TestURLRequest> request(
- new net::TestURLRequest(url, &delegate, &context));
+ new net::TestURLRequest(url, &delegate, &context, NULL));
ResourceThrottle* throttle =
listener_->CreateResourceThrottle(url, ResourceType::MAIN_FRAME);
« no previous file with comments | « chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698