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

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

Issue 50243005: ChromeOS: Remove unused IBus classes from chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 1 month 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 #ifndef CHROMEOS_DBUS_IBUS_IBUS_ENGINE_FACTORY_SERVICE_H_ 5 #ifndef CHROMEOS_DBUS_IBUS_IBUS_ENGINE_FACTORY_SERVICE_H_
6 #define CHROMEOS_DBUS_IBUS_IBUS_ENGINE_FACTORY_SERVICE_H_ 6 #define CHROMEOS_DBUS_IBUS_IBUS_ENGINE_FACTORY_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "chromeos/chromeos_export.h" 11 #include "chromeos/chromeos_export.h"
12 #include "chromeos/dbus/dbus_client_implementation_type.h"
13 12
14 namespace dbus { 13 namespace dbus {
15 class Bus; 14 class Bus;
16 class ObjectPath; 15 class ObjectPath;
17 } // namespace dbus 16 } // namespace dbus
18 17
19 namespace chromeos { 18 namespace chromeos {
20 19
21 // A class to make the actual DBus method call handling for IBusEngineFactory 20 // A class to make the actual DBus method call handling for IBusEngineFactory
22 // service. The exported method call is used by ibus-daemon to create engine 21 // service. The exported method call is used by ibus-daemon to create engine
(...skipping 15 matching lines...) Expand all
38 const CreateEngineHandler& create_engine_handler) = 0; 37 const CreateEngineHandler& create_engine_handler) = 0;
39 38
40 // Unsets CreateEngine method call handler for |engine_id|. 39 // Unsets CreateEngine method call handler for |engine_id|.
41 virtual void UnsetCreateEngineHandler(const std::string& engine_id) = 0; 40 virtual void UnsetCreateEngineHandler(const std::string& engine_id) = 0;
42 41
43 // Generates object path which is unique among all EngineServices. 42 // Generates object path which is unique among all EngineServices.
44 virtual dbus::ObjectPath GenerateUniqueObjectPath() = 0; 43 virtual dbus::ObjectPath GenerateUniqueObjectPath() = 0;
45 44
46 // Factory function, creates a new instance and returns ownership. 45 // Factory function, creates a new instance and returns ownership.
47 // For normal usage, accesses the singleton via DBusThreadManager::Get(). 46 // For normal usage, accesses the singleton via DBusThreadManager::Get().
48 static CHROMEOS_EXPORT IBusEngineFactoryService* Create( 47 static CHROMEOS_EXPORT IBusEngineFactoryService* Create();
49 dbus::Bus* bus,
50 DBusClientImplementationType type);
51 48
52 protected: 49 protected:
53 // Create() should be used instead. 50 // Create() should be used instead.
54 IBusEngineFactoryService(); 51 IBusEngineFactoryService();
55 52
56 private: 53 private:
57 DISALLOW_COPY_AND_ASSIGN(IBusEngineFactoryService); 54 DISALLOW_COPY_AND_ASSIGN(IBusEngineFactoryService);
58 }; 55 };
59 56
60 } // namespace chromeos 57 } // namespace chromeos
61 58
62 #endif // CHROMEOS_DBUS_IBUS_IBUS_ENGINE_FACTORY_SERVICE_H_ 59 #endif // CHROMEOS_DBUS_IBUS_IBUS_ENGINE_FACTORY_SERVICE_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/ibus/ibus_client_unittest.cc ('k') | chromeos/dbus/ibus/ibus_engine_factory_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698