Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7747)

Unified Diff: chrome/browser/chromeos/input_method/input_method_delegate_impl.cc

Issue 11594008: Revert 173477 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/input_method/input_method_delegate_impl.cc
===================================================================
--- chrome/browser/chromeos/input_method/input_method_delegate_impl.cc (revision 173477)
+++ chrome/browser/chromeos/input_method/input_method_delegate_impl.cc (working copy)
@@ -5,11 +5,9 @@
#include "chrome/browser/chromeos/input_method/input_method_delegate_impl.h"
#include "base/logging.h"
-#include "base/threading/sequenced_worker_pool.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/common/pref_names.h"
-#include "content/public/browser/browser_thread.h"
namespace chromeos {
namespace input_method {
@@ -35,19 +33,5 @@
return std::string();
}
-scoped_refptr<base::SequencedTaskRunner>
-InputMethodDelegateImpl::GetDefaultTaskRunner() const {
- return content::BrowserThread::GetMessageLoopProxyForThread(
- content::BrowserThread::UI);
-}
-
-scoped_refptr<base::SequencedTaskRunner>
-InputMethodDelegateImpl::GetWorkerTaskRunner() const {
- scoped_refptr<base::SequencedWorkerPool> worker_pool(
- content::BrowserThread::GetBlockingPool());
-
- return worker_pool->GetSequencedTaskRunner(worker_pool->GetSequenceToken());
-}
-
} // namespace input_method
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698