diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-15 00:21:34 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-15 00:21:34 +0000 |
commit | aeb53f0e2f6352ec7fbc2113270a97072b42c764 (patch) | |
tree | 1f4da7884df919c21903a7881964273a9f7496fd /chrome/browser/appcache | |
parent | ec8962ca7de01eb5685b32a4361dd7be8f7e6293 (diff) | |
download | chromium_src-aeb53f0e2f6352ec7fbc2113270a97072b42c764.zip chromium_src-aeb53f0e2f6352ec7fbc2113270a97072b42c764.tar.gz chromium_src-aeb53f0e2f6352ec7fbc2113270a97072b42c764.tar.bz2 |
net: Remove typedef net::URLRequestContext URLRequestContext;
BUG=64263
TEST=compiled locally, trybots
Review URL: http://codereview.chromium.org/6338002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71522 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/appcache')
-rw-r--r-- | chrome/browser/appcache/appcache_dispatcher_host.cc | 6 | ||||
-rw-r--r-- | chrome/browser/appcache/appcache_dispatcher_host.h | 2 | ||||
-rw-r--r-- | chrome/browser/appcache/view_appcache_internals_job_factory.cc | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/appcache/appcache_dispatcher_host.cc b/chrome/browser/appcache/appcache_dispatcher_host.cc index 8bcf53e..15798ea 100644 --- a/chrome/browser/appcache/appcache_dispatcher_host.cc +++ b/chrome/browser/appcache/appcache_dispatcher_host.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 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. @@ -12,7 +12,7 @@ #include "chrome/common/render_messages.h" AppCacheDispatcherHost::AppCacheDispatcherHost( - URLRequestContext* request_context, + net::URLRequestContext* request_context, int process_id) : ALLOW_THIS_IN_INITIALIZER_LIST(frontend_proxy_(this)), request_context_(request_context), @@ -37,7 +37,7 @@ void AppCacheDispatcherHost::OnChannelConnected(int32 peer_pid) { DCHECK(request_context_.get() || request_context_getter_.get()); // Get the AppCacheService (it can only be accessed from IO thread). - URLRequestContext* context = request_context_.get(); + net::URLRequestContext* context = request_context_.get(); if (!context) context = request_context_getter_->GetURLRequestContext(); appcache_service_ = diff --git a/chrome/browser/appcache/appcache_dispatcher_host.h b/chrome/browser/appcache/appcache_dispatcher_host.h index 1feca77..527a306 100644 --- a/chrome/browser/appcache/appcache_dispatcher_host.h +++ b/chrome/browser/appcache/appcache_dispatcher_host.h @@ -79,7 +79,7 @@ class AppCacheDispatcherHost : public BrowserMessageFilter { appcache::AppCacheBackendImpl backend_impl_; // Temporary until OnChannelConnected() can be called from the IO thread, - // which will extract the AppCacheService from the URLRequestContext. + // which will extract the AppCacheService from the net::URLRequestContext. scoped_refptr<net::URLRequestContext> request_context_; scoped_refptr<URLRequestContextGetter> request_context_getter_; diff --git a/chrome/browser/appcache/view_appcache_internals_job_factory.cc b/chrome/browser/appcache/view_appcache_internals_job_factory.cc index 99ef75f..6de6a6a 100644 --- a/chrome/browser/appcache/view_appcache_internals_job_factory.cc +++ b/chrome/browser/appcache/view_appcache_internals_job_factory.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. @@ -20,7 +20,7 @@ bool ViewAppCacheInternalsJobFactory::IsSupportedURL(const GURL& url) { // static. net::URLRequestJob* ViewAppCacheInternalsJobFactory::CreateJobForRequest( net::URLRequest* request) { - URLRequestContext* context = request->context(); + net::URLRequestContext* context = request->context(); ChromeURLRequestContext* chrome_request_context = reinterpret_cast<ChromeURLRequestContext*>(context); return new appcache::ViewAppCacheInternalsJob( |