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

Side by Side Diff: chromeos/dbus/dbus_thread_manager.h

Issue 10836051: Introduce RemoveIBusEngineService. (Closed) Base URL: http://git.chromium.org/chromium/src.git@ibus_module_revise
Patch Set: 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_DBUS_THREAD_MANAGER_H_ 5 #ifndef CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_
6 #define CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ 6 #define CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 // Returns the ibus engine factory service, owned by DBusThreadManager. Do not 238 // Returns the ibus engine factory service, owned by DBusThreadManager. Do not
239 // cache this pointer and use it after DBusThreadManager is shut down. 239 // cache this pointer and use it after DBusThreadManager is shut down.
240 virtual IBusEngineFactoryService* GetIBusEngineFactoryService() = 0; 240 virtual IBusEngineFactoryService* GetIBusEngineFactoryService() = 0;
241 241
242 // Returns the ibus engine service, owned by DBusThreadManager. Do not cache 242 // Returns the ibus engine service, owned by DBusThreadManager. Do not cache
243 // this pointer and use it after DBusThreadManager is shut down. 243 // this pointer and use it after DBusThreadManager is shut down.
244 virtual IBusEngineService* GetIBusEngineService( 244 virtual IBusEngineService* GetIBusEngineService(
245 const dbus::ObjectPath& object_path) = 0; 245 const dbus::ObjectPath& object_path) = 0;
246 246
247 // Removes the ibus engine services for |object_path|.
248 virtual void RemoveIBusEngineService(const dbus::ObjectPath& object_path) = 0;
249
247 virtual ~DBusThreadManager(); 250 virtual ~DBusThreadManager();
248 251
249 protected: 252 protected:
250 DBusThreadManager(); 253 DBusThreadManager();
251 254
252 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); 255 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager);
253 }; 256 };
254 257
255 } // namespace chromeos 258 } // namespace chromeos
256 259
257 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ 260 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | chromeos/dbus/dbus_thread_manager.cc » ('j') | chromeos/dbus/dbus_thread_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698