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

Unified Diff: chrome/browser/renderer_host/render_message_filter.cc

Issue 6338002: net: Remove typedef net::URLRequestContext URLRequestContext; (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for real Created 9 years, 11 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/renderer_host/render_message_filter.cc
diff --git a/chrome/browser/renderer_host/render_message_filter.cc b/chrome/browser/renderer_host/render_message_filter.cc
index 3e23ae861d29f57b1a97810adff664bde917c1bd..79a652f15454c52ecfd9693279a7760fadddae3f 100644
--- a/chrome/browser/renderer_host/render_message_filter.cc
+++ b/chrome/browser/renderer_host/render_message_filter.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -559,7 +559,7 @@ void RenderMessageFilter::OnGetRawCookies(
void RenderMessageFilter::OnDeleteCookie(const GURL& url,
const std::string& cookie_name) {
- URLRequestContext* context = GetRequestContextForURL(url);
+ net::URLRequestContext* context = GetRequestContextForURL(url);
context->cookie_store()->DeleteCookie(url, cookie_name);
}
@@ -567,7 +567,7 @@ void RenderMessageFilter::OnCookiesEnabled(
const GURL& url,
const GURL& first_party_for_cookies,
IPC::Message* reply_msg) {
- URLRequestContext* context = GetRequestContextForURL(url);
+ net::URLRequestContext* context = GetRequestContextForURL(url);
CookiesEnabledCompletion* callback =
new CookiesEnabledCompletion(reply_msg, this);
int policy = net::OK;
@@ -731,7 +731,7 @@ void RenderMessageFilter::OnLaunchNaCl(
void RenderMessageFilter::OnDownloadUrl(const IPC::Message& message,
const GURL& url,
const GURL& referrer) {
- URLRequestContext* context = request_context_->GetURLRequestContext();
+ net::URLRequestContext* context = request_context_->GetURLRequestContext();
// Don't show "Save As" UI.
bool prompt_for_save_location = false;

Powered by Google App Engine
This is Rietveld 408576698