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/chrome_plugin_host.cc | |
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/chrome_plugin_host.cc')
-rw-r--r-- | chrome/browser/chrome_plugin_host.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/chrome_plugin_host.cc b/chrome/browser/chrome_plugin_host.cc index ac8b41b..fc7b9ce 100644 --- a/chrome/browser/chrome_plugin_host.cc +++ b/chrome/browser/chrome_plugin_host.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. @@ -158,7 +158,7 @@ class PluginRequestHandler : public PluginHelper, : PluginHelper(plugin), cprequest_(cprequest), user_buffer_(NULL) { cprequest_->data = this; // see FromCPRequest(). - URLRequestContext* context = CPBrowsingContextManager::GetInstance()-> + net::URLRequestContext* context = CPBrowsingContextManager::GetInstance()-> ToURLRequestContext(cprequest_->context); // TODO(mpcomplete): remove fallback case when Gears support is prevalent. if (!context) @@ -388,7 +388,7 @@ void STDCALL CPB_SetKeepProcessAlive(CPID id, CPBool keep_alive) { CPError STDCALL CPB_GetCookies(CPID id, CPBrowsingContext bcontext, const char* url, char** cookies) { CHECK(ChromePluginLib::IsPluginThread()); - URLRequestContext* context = CPBrowsingContextManager::GetInstance()-> + net::URLRequestContext* context = CPBrowsingContextManager::GetInstance()-> ToURLRequestContext(bcontext); // TODO(mpcomplete): remove fallback case when Gears support is prevalent. if (!context) { |