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

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

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 #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 9
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 DISALLOW_COPY_AND_ASSIGN(IBusEngineFactoryServiceDaemonlessImpl); 154 DISALLOW_COPY_AND_ASSIGN(IBusEngineFactoryServiceDaemonlessImpl);
155 }; 155 };
156 156
157 IBusEngineFactoryService::IBusEngineFactoryService() { 157 IBusEngineFactoryService::IBusEngineFactoryService() {
158 } 158 }
159 159
160 IBusEngineFactoryService::~IBusEngineFactoryService() { 160 IBusEngineFactoryService::~IBusEngineFactoryService() {
161 } 161 }
162 162
163 // static 163 // static
164 IBusEngineFactoryService* IBusEngineFactoryService::Create( 164 IBusEngineFactoryService* IBusEngineFactoryService::Create() {
165 dbus::Bus* bus, 165 return new IBusEngineFactoryServiceDaemonlessImpl();
166 DBusClientImplementationType type) {
167 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION)
168 return new IBusEngineFactoryServiceImpl(bus);
169 else
170 return new IBusEngineFactoryServiceDaemonlessImpl();
171 } 166 }
172 167
173 } // namespace chromeos 168 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/ibus/ibus_engine_factory_service.h ('k') | chromeos/dbus/ibus/ibus_engine_factory_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698