OLD | NEW |
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 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 ::BrowserChildProcessHost::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 |
OLD | NEW |