Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / google_apis / drive / task_util.cc
blob6b2bbf4d1dae0445f071192f2d3704b7ecb0c43c
1 // Copyright (c) 2012 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.
5 #include "google_apis/drive/task_util.h"
7 #include "base/location.h"
9 namespace google_apis {
11 void RunTaskWithTaskRunner(scoped_refptr<base::TaskRunner> task_runner,
12 const base::Closure& task) {
13 const bool posted = task_runner->PostTask(FROM_HERE, task);
14 DCHECK(posted);
17 } // namespace google_apis