| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/chrome_thread.h" | 5 #include "chrome/browser/chrome_thread.h" |
| 6 | 6 |
| 7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
| 8 #include "base/message_loop_proxy.h" | 8 #include "base/message_loop_proxy.h" |
| 9 | 9 |
| 10 // Friendly names for the well-known threads. | 10 // Friendly names for the well-known threads. |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 } | 213 } |
| 214 } else { | 214 } else { |
| 215 delete task; | 215 delete task; |
| 216 } | 216 } |
| 217 | 217 |
| 218 if (!guaranteed_to_outlive_target_thread) | 218 if (!guaranteed_to_outlive_target_thread) |
| 219 lock_.Release(); | 219 lock_.Release(); |
| 220 | 220 |
| 221 return !!message_loop; | 221 return !!message_loop; |
| 222 } | 222 } |
| OLD | NEW |