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

Side by Side Diff: chromeos/dbus/ibus/mock_ibus_engine_factory_service.h

Issue 10836047: Revise IBus related DBus module. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Style fix Created 8 years, 4 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
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 #ifndef CHROMEOS_DBUS_IBUS_MOCK_IBUS_ENGINE_FACTORY_SERVICE_H_ 5 #ifndef CHROMEOS_DBUS_IBUS_MOCK_IBUS_ENGINE_FACTORY_SERVICE_H_
6 #define CHROMEOS_DBUS_IBUS_MOCK_IBUS_ENGINE_FACTORY_SERVICE_H_ 6 #define CHROMEOS_DBUS_IBUS_MOCK_IBUS_ENGINE_FACTORY_SERVICE_H_
7 7
8 #include <string>
8 #include "base/basictypes.h" 9 #include "base/basictypes.h"
9 #include "chromeos/dbus/ibus/ibus_engine_factory_service.h" 10 #include "chromeos/dbus/ibus/ibus_engine_factory_service.h"
10 11
11 namespace chromeos { 12 namespace chromeos {
12 class MockIBusEngineFactoryService : public IBusEngineFactoryService { 13 class MockIBusEngineFactoryService : public IBusEngineFactoryService {
13 public: 14 public:
14 MockIBusEngineFactoryService(); 15 MockIBusEngineFactoryService();
15 virtual ~MockIBusEngineFactoryService(); 16 virtual ~MockIBusEngineFactoryService();
16 17
17 virtual void SetCreateEngineHandler( 18 virtual void SetCreateEngineHandler(
19 const std::string& engine_id,
18 const CreateEngineHandler& create_engine_handler) OVERRIDE; 20 const CreateEngineHandler& create_engine_handler) OVERRIDE;
19 virtual void UnsetCreateEngineHandler() OVERRIDE; 21 virtual void UnsetCreateEngineHandler(
22 const std::string& engine_id) OVERRIDE;
20 23
21 DISALLOW_COPY_AND_ASSIGN(MockIBusEngineFactoryService); 24 DISALLOW_COPY_AND_ASSIGN(MockIBusEngineFactoryService);
22 }; 25 };
23 26
24 } // namespace chromeos 27 } // namespace chromeos
25 28
26 #endif // CHROMEOS_DBUS_IBUS_MOCK_IBUS_ENGINE_FACTORY_SERVICE_H_ 29 #endif // CHROMEOS_DBUS_IBUS_MOCK_IBUS_ENGINE_FACTORY_SERVICE_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/ibus/ibus_engine_factory_service_unittest.cc ('k') | chromeos/dbus/ibus/mock_ibus_engine_factory_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698