blob: fe89a5cc81ee8ff73bde2db7c4abd1afea970320 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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/browser_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 BrowserThread::PostTask(BrowserThread::UI, from_here, task);
}
} // namespace ui_thread_helpers
|