Index: chrome/browser/ui_thread_helpers_linux.cc |
diff --git a/chrome/browser/ui_thread_helpers_linux.cc b/chrome/browser/ui_thread_helpers_linux.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..41721c31753e39423f9026cb36b8273c21950db7 |
--- /dev/null |
+++ b/chrome/browser/ui_thread_helpers_linux.cc |
@@ -0,0 +1,18 @@ |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/browser/ui_thread_helpers.h" |
+ |
+#include "base/task.h" |
+#include "chrome/browser/chrome_thread.h" |
+ |
+namespace ui_thread_helpers { |
+ |
+bool PostTaskWhileRunningMenu(const tracked_objects::Location& from_here, |
+ Task* task) { |
+ // TODO(rsesek): Implementing Linux behavior may fix http://crbug.com/48240 |
+ return ChromeThread::PostTask(ChromeThread::UI, from_here, task); |
+} |
+ |
+} // namespace ui_thread_helpers |