Index: chrome/browser/google_apis/task_util.cc |
diff --git a/chrome/browser/google_apis/task_util.cc b/chrome/browser/google_apis/task_util.cc |
deleted file mode 100644 |
index 64c47f6b77cbe509804dc295027d40fbecc2fb95..0000000000000000000000000000000000000000 |
--- a/chrome/browser/google_apis/task_util.cc |
+++ /dev/null |
@@ -1,21 +0,0 @@ |
-// Copyright (c) 2012 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/google_apis/task_util.h" |
- |
-#include "base/location.h" |
- |
-namespace google_apis { |
- |
-void RunTaskOnThread(scoped_refptr<base::SingleThreadTaskRunner> task_runner, |
- const base::Closure& task) { |
- if (task_runner->BelongsToCurrentThread()) { |
- task.Run(); |
- } else { |
- const bool posted = task_runner->PostTask(FROM_HERE, task); |
- DCHECK(posted); |
- } |
-} |
- |
-} // namespace google_apis |