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

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

Issue 6995013: More progress towards removing content settings code from the content layer. We can't use Cookie... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix net_unittests Created 9 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/user_script_listener_unittest.cc
===================================================================
--- chrome/browser/extensions/user_script_listener_unittest.cc (revision 84586)
+++ chrome/browser/extensions/user_script_listener_unittest.cc (working copy)
@@ -87,9 +87,10 @@
};
ResourceDispatcherHostRequestInfo* CreateRequestInfo(int request_id) {
+ const content::ResourceContext* context = NULL;
return new ResourceDispatcherHostRequestInfo(
new DummyResourceHandler(), ChildProcessInfo::RENDER_PROCESS, 0, 0,
- request_id, ResourceType::MAIN_FRAME, 0, false, false, false);
+ request_id, ResourceType::MAIN_FRAME, 0, false, false, false, *context);
willchan no longer on Chromium 2011/05/10 18:36:56 Haha, this looks weird :P Maybe you should use the
jam 2011/05/10 19:27:22 Done (didn't know about it!)
}
// A simple test net::URLRequestJob. We don't care what it does, only that

Powered by Google App Engine
This is Rietveld 408576698