diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-20 15:48:53 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-20 15:48:53 +0000 |
commit | 9abfa1903f72e0735c9c1ef6570eef94f26eb4a7 (patch) | |
tree | 0a9cc60eebf84295d1a0dd5896d80f96b9461f75 /content/browser/debugger | |
parent | 056f879b0a2a3281818bda56011081a6c683208e (diff) | |
download | chromium_src-9abfa1903f72e0735c9c1ef6570eef94f26eb4a7.zip chromium_src-9abfa1903f72e0735c9c1ef6570eef94f26eb4a7.tar.gz chromium_src-9abfa1903f72e0735c9c1ef6570eef94f26eb4a7.tar.bz2 |
Deprecate Profile::GetDefaultRequestContext().
Make it private and establish a friend whitelist for existing users.
BUG=64339
TEST=none
Review URL: http://codereview.chromium.org/7438002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93200 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/debugger')
-rw-r--r-- | content/browser/debugger/devtools_http_protocol_handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/debugger/devtools_http_protocol_handler.cc b/content/browser/debugger/devtools_http_protocol_handler.cc index 346b0c8..9852b65 100644 --- a/content/browser/debugger/devtools_http_protocol_handler.cc +++ b/content/browser/debugger/devtools_http_protocol_handler.cc @@ -182,7 +182,7 @@ void DevToolsHttpProtocolHandler::OnHttpRequest( } // Proxy static files from chrome-devtools://devtools/*. - if (!Profile::GetDefaultRequestContext()) { + if (!Profile::Deprecated::GetDefaultRequestContext()) { server_->Send404(connection_id); return; } @@ -211,7 +211,7 @@ void DevToolsHttpProtocolHandler::OnHttpRequest( DevToolsUI::RegisterDevToolsDataSource(); Bind(request, connection_id); request->set_context( - Profile::GetDefaultRequestContext()->GetURLRequestContext()); + Profile::Deprecated::GetDefaultRequestContext()->GetURLRequestContext()); request->Start(); } |