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

Side by Side Diff: chromeos/dbus/ibus/ibus_engine_factory_service_unittest.cc

Issue 19468003: Use a direct include of the message_loop header in chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chromeos/dbus/ibus/ibus_engine_factory_service.h" 5 #include "chromeos/dbus/ibus/ibus_engine_factory_service.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include "base/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "chromeos/dbus/ibus/ibus_constants.h" 10 #include "chromeos/dbus/ibus/ibus_constants.h"
11 #include "dbus/message.h" 11 #include "dbus/message.h"
12 #include "dbus/mock_bus.h" 12 #include "dbus/mock_bus.h"
13 #include "dbus/mock_exported_object.h" 13 #include "dbus/mock_exported_object.h"
14 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 using ::testing::Invoke; 17 using ::testing::Invoke;
18 using ::testing::Return; 18 using ::testing::Return;
19 using ::testing::StrEq; 19 using ::testing::StrEq;
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 // Unset the handler so expect not calling handler. 223 // Unset the handler so expect not calling handler.
224 service_->UnsetCreateEngineHandler(kSampleEngine); 224 service_->UnsetCreateEngineHandler(kSampleEngine);
225 method_exported_map_[ibus::engine_factory::kCreateEngineMethod].Run( 225 method_exported_map_[ibus::engine_factory::kCreateEngineMethod].Run(
226 &method_call, 226 &method_call,
227 base::Bind(&MockCreateEngineResponseSender::CheckCreateEngineResponse, 227 base::Bind(&MockCreateEngineResponseSender::CheckCreateEngineResponse,
228 base::Unretained(&response_sender))); 228 base::Unretained(&response_sender)));
229 message_loop_.RunUntilIdle(); 229 message_loop_.RunUntilIdle();
230 } 230 }
231 231
232 } // namespace chromeos 232 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/ibus/ibus_config_client_unittest.cc ('k') | chromeos/dbus/ibus/ibus_engine_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698