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

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

Issue 9117006: Rename BrowserChildProcessHost implementation class to BrowserChildProcessHostImpl. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/browser_process_sub_thread.h" 5 #include "content/browser/browser_process_sub_thread.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <Objbase.h> 8 #include <Objbase.h>
9 #endif 9 #endif
10 10
11 #include "base/debug/leak_tracker.h" 11 #include "base/debug/leak_tracker.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "content/browser/browser_child_process_host.h" 13 #include "content/browser/browser_child_process_host_impl.h"
14 #include "content/browser/in_process_webkit/indexed_db_key_utility_client.h" 14 #include "content/browser/in_process_webkit/indexed_db_key_utility_client.h"
15 #include "content/browser/notification_service_impl.h" 15 #include "content/browser/notification_service_impl.h"
16 #include "content/public/common/url_fetcher.h" 16 #include "content/public/common/url_fetcher.h"
17 #include "net/url_request/url_request.h" 17 #include "net/url_request/url_request.h"
18 18
19 namespace content { 19 namespace content {
20 20
21 BrowserProcessSubThread::BrowserProcessSubThread(BrowserThread::ID identifier) 21 BrowserProcessSubThread::BrowserProcessSubThread(BrowserThread::ID identifier)
22 : BrowserThreadImpl(identifier), 22 : BrowserThreadImpl(identifier),
23 notification_service_(NULL) { 23 notification_service_(NULL) {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // net::URLRequest/net::URLRequestContexts. 62 // net::URLRequest/net::URLRequestContexts.
63 63
64 // Destroy all URLRequests started by URLFetchers. 64 // Destroy all URLRequests started by URLFetchers.
65 content::URLFetcher::CancelAll(); 65 content::URLFetcher::CancelAll();
66 66
67 IndexedDBKeyUtilityClient::Shutdown(); 67 IndexedDBKeyUtilityClient::Shutdown();
68 68
69 // If any child processes are still running, terminate them and 69 // If any child processes are still running, terminate them and
70 // and delete the BrowserChildProcessHost instances to release whatever 70 // and delete the BrowserChildProcessHost instances to release whatever
71 // IO thread only resources they are referencing. 71 // IO thread only resources they are referencing.
72 ::BrowserChildProcessHost::TerminateAll(); 72 BrowserChildProcessHostImpl::TerminateAll();
73 } 73 }
74 74
75 void BrowserProcessSubThread::IOThreadPostCleanUp() { 75 void BrowserProcessSubThread::IOThreadPostCleanUp() {
76 // net::URLRequest instances must NOT outlive the IO thread. 76 // net::URLRequest instances must NOT outlive the IO thread.
77 base::debug::LeakTracker<net::URLRequest>::CheckForLeaks(); 77 base::debug::LeakTracker<net::URLRequest>::CheckForLeaks();
78 } 78 }
79 79
80 } // namespace content 80 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_child_process_host_impl.cc ('k') | content/browser/content_ipc_logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698