| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "content/browser/resource_context.h" | |
| 6 | |
| 7 #include "base/logging.h" | |
| 8 #include "content/browser/plugin_process_host.h" | |
| 9 #include "content/public/browser/browser_thread.h" | |
| 10 #include "webkit/database/database_tracker.h" | |
| 11 | |
| 12 namespace content { | |
| 13 | |
| 14 ResourceContext::~ResourceContext() { | |
| 15 if (BrowserThread::IsMessageLoopValid(BrowserThread::IO)) { | |
| 16 // Band-aid for http://crbug.com/94704 until we change plug-in channel | |
| 17 // requests to be owned by the ResourceContext. | |
| 18 PluginProcessHost::CancelPendingRequestsForResourceContext(this); | |
| 19 } | |
| 20 } | |
| 21 | |
| 22 } // namespace content | |
| OLD | NEW |