OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/ui_thread_helpers.h" |
| 6 |
| 7 #include "base/task.h" |
| 8 #include "chrome/browser/chrome_thread.h" |
| 9 |
| 10 namespace ui_thread_helpers { |
| 11 |
| 12 bool PostTaskWhileRunningMenu(const tracked_objects::Location& from_here, |
| 13 Task* task) { |
| 14 // TODO(rsesek): Implementing Linux behavior may fix http://crbug.com/48240 |
| 15 return ChromeThread::PostTask(ChromeThread::UI, from_here, task); |
| 16 } |
| 17 |
| 18 } // namespace ui_thread_helpers |
OLD | NEW |