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

Unified Diff: chrome/browser/speech/extension_api/tts_extension_apitest.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 7 months 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
« no previous file with comments | « chrome/browser/signin/token_service_unittest.cc ('k') | chrome/browser/speech/speech_recognition_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/speech/extension_api/tts_extension_apitest.cc
diff --git a/chrome/browser/speech/extension_api/tts_extension_apitest.cc b/chrome/browser/speech/extension_api/tts_extension_apitest.cc
index e704f5de99850f24e9c241f031c5b20df04be32b..dc4dc90ff15ce7a1e23ca99d6af51c096571bea4 100644
--- a/chrome/browser/speech/extension_api/tts_extension_apitest.cc
+++ b/chrome/browser/speech/extension_api/tts_extension_apitest.cc
@@ -58,7 +58,7 @@ class MockTtsPlatformImpl : public TtsPlatformImpl {
const std::string& lang,
const VoiceData& voice,
const UtteranceContinuousParameters& params) {
- MessageLoop::current()->PostDelayedTask(
+ base::MessageLoop::current()->PostDelayedTask(
FROM_HERE, base::Bind(
&MockTtsPlatformImpl::SendEvent,
ptr_factory_.GetWeakPtr(),
@@ -73,7 +73,7 @@ class MockTtsPlatformImpl : public TtsPlatformImpl {
const std::string& lang,
const VoiceData& voice,
const UtteranceContinuousParameters& params) {
- MessageLoop::current()->PostDelayedTask(
+ base::MessageLoop::current()->PostDelayedTask(
FROM_HERE, base::Bind(
&MockTtsPlatformImpl::SendEvent,
ptr_factory_.GetWeakPtr(),
@@ -88,7 +88,7 @@ class MockTtsPlatformImpl : public TtsPlatformImpl {
const UtteranceContinuousParameters& params) {
for (int i = 0; i < static_cast<int>(utterance.size()); i++) {
if (i == 0 || utterance[i - 1] == ' ') {
- MessageLoop::current()->PostDelayedTask(
+ base::MessageLoop::current()->PostDelayedTask(
FROM_HERE, base::Bind(
&MockTtsPlatformImpl::SendEvent,
ptr_factory_.GetWeakPtr(),
@@ -106,7 +106,7 @@ class MockTtsPlatformImpl : public TtsPlatformImpl {
const std::string& message) {
TtsController* controller = TtsController::GetInstance();
if (wait_for_non_empty_queue && controller->QueueSize() == 0) {
- MessageLoop::current()->PostDelayedTask(
+ base::MessageLoop::current()->PostDelayedTask(
FROM_HERE, base::Bind(
&MockTtsPlatformImpl::SendEvent,
ptr_factory_.GetWeakPtr(),
« no previous file with comments | « chrome/browser/signin/token_service_unittest.cc ('k') | chrome/browser/speech/speech_recognition_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698