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

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

Issue 16739011: Use a direct include of strings headers in chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « chromeos/dbus/gsm_sms_client.cc ('k') | chromeos/dbus/ibus/ibus_property_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "chromeos/dbus/ibus/ibus_constants.h" 11 #include "chromeos/dbus/ibus/ibus_constants.h"
12 #include "chromeos/ime/ibus_bridge.h" 12 #include "chromeos/ime/ibus_bridge.h"
13 #include "dbus/bus.h" 13 #include "dbus/bus.h"
14 #include "dbus/exported_object.h"
14 #include "dbus/message.h" 15 #include "dbus/message.h"
15 #include "dbus/exported_object.h"
16 16
17 namespace chromeos { 17 namespace chromeos {
18 18
19 namespace { 19 namespace {
20 const char* kObjectPathPrefix = "/org/freedesktop/IBus/Engine/"; 20 const char* kObjectPathPrefix = "/org/freedesktop/IBus/Engine/";
21 } // namespace 21 } // namespace
22 22
23 class IBusEngineFactoryServiceImpl : public IBusEngineFactoryService { 23 class IBusEngineFactoryServiceImpl : public IBusEngineFactoryService {
24 public: 24 public:
25 explicit IBusEngineFactoryServiceImpl(dbus::Bus* bus) 25 explicit IBusEngineFactoryServiceImpl(dbus::Bus* bus)
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 IBusEngineFactoryService* IBusEngineFactoryService::Create( 164 IBusEngineFactoryService* IBusEngineFactoryService::Create(
165 dbus::Bus* bus, 165 dbus::Bus* bus,
166 DBusClientImplementationType type) { 166 DBusClientImplementationType type) {
167 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION) 167 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION)
168 return new IBusEngineFactoryServiceImpl(bus); 168 return new IBusEngineFactoryServiceImpl(bus);
169 else 169 else
170 return new IBusEngineFactoryServiceDaemonlessImpl(); 170 return new IBusEngineFactoryServiceDaemonlessImpl();
171 } 171 }
172 172
173 } // namespace chromeos 173 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/gsm_sms_client.cc ('k') | chromeos/dbus/ibus/ibus_property_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698