diff options
author | battre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-14 10:52:45 +0000 |
---|---|---|
committer | battre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-14 10:52:45 +0000 |
commit | f37595062cde15c3229cd68d8cfe9916b98d5fbb (patch) | |
tree | 61a44b028f9d0f10b7c98b8da79a95e9ecb8d984 /content | |
parent | f0d7fe7c2cee6e2d9aadcb8602476e4df05d7da1 (diff) | |
download | chromium_src-f37595062cde15c3229cd68d8cfe9916b98d5fbb.zip chromium_src-f37595062cde15c3229cd68d8cfe9916b98d5fbb.tar.gz chromium_src-f37595062cde15c3229cd68d8cfe9916b98d5fbb.tar.bz2 |
Make the URLRequestContext constant
The URLRequestContext is basically a collection of pointers to other data structures. This CL makes sure that these pointers are not easily modified after the construction of the URLRequestContext.
BUG=67597
TEST=no
Review URL: http://codereview.chromium.org/7322010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92511 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/browser/renderer_host/resource_dispatcher_host.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/renderer_host/resource_dispatcher_host.cc b/content/browser/renderer_host/resource_dispatcher_host.cc index 0243717..4580bd8 100644 --- a/content/browser/renderer_host/resource_dispatcher_host.cc +++ b/content/browser/renderer_host/resource_dispatcher_host.cc @@ -1108,7 +1108,7 @@ bool ResourceDispatcherHost::CanGetCookies(net::URLRequest* request) { if (!RenderViewForRequest(request, &render_process_id, &render_view_id)) return false; - net::URLRequestContext* context = request->context(); + const net::URLRequestContext* context = request->context(); net::CookieMonster* cookie_monster = context->cookie_store()->GetCookieMonster(); net::CookieList cookie_list = |