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

Side by Side Diff: content/browser/resource_context.cc

Issue 9371025: Move resource_context.h to content/public/browser. Remove the workaround in its destructor since ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
OLDNEW
« no previous file with comments | « content/browser/resource_context.h ('k') | content/browser/speech/speech_input_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698