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

Unified Diff: net/url_request/url_request.cc

Issue 10825073: Stop using ScopedAllowIO in content::ResourceDispatcherHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Chrome Frame fix Created 8 years, 4 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: net/url_request/url_request.cc
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index 8ea6325d819e072b5ad455b4c68867c90b7fa131..fcb2ac5d823b502b7988d70884a07905b1627e4e 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -107,6 +107,10 @@ URLRequestJob* URLRequest::Interceptor::MaybeInterceptResponse(
///////////////////////////////////////////////////////////////////////////////
// URLRequest::Delegate
+void URLRequest::Delegate::OnRequestBodyInitialized(URLRequest* request,
+ uint64 size) {
+}
+
void URLRequest::Delegate::OnReceivedRedirect(URLRequest* request,
const GURL& new_url,
bool* defer_redirect) {
@@ -784,6 +788,11 @@ bool URLRequest::GetHSTSRedirect(GURL* redirect_url) const {
return false;
}
+void URLRequest::NotifyRequestBodyInitialized(uint64 size) {
+ if (delegate_)
+ delegate_->OnRequestBodyInitialized(this, size);
+}
+
void URLRequest::NotifyAuthRequired(AuthChallengeInfo* auth_info) {
NetworkDelegate::AuthRequiredResponse rv =
NetworkDelegate::AUTH_REQUIRED_RESPONSE_NO_ACTION;

Powered by Google App Engine
This is Rietveld 408576698