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

Unified Diff: chromeos/dbus/ibus/ibus_util.h

Issue 10159004: Extends DBusThreadManager to connect ibus-bus. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/dbus/ibus/ibus_util.h
diff --git a/chromeos/dbus/ibus/ibus_util.h b/chromeos/dbus/ibus/ibus_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..7e4a702cb0684c8807f7d2e5a4989514d789483d
--- /dev/null
+++ b/chromeos/dbus/ibus/ibus_util.h
@@ -0,0 +1,30 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROMEOS_DBUS_IBUS_IBUS_UTIL_H_
+#define CHROMEOS_DBUS_IBUS_IBUS_UTIL_H_
+#pragma once
+
+#include <string>
+
+#include "base/basictypes.h"
+#include "chromeos/chromeos_export.h"
+
+namespace chromeos {
+
+class CHROMEOS_EXPORT IBusUtil {
satorux1 2012/04/20 23:18:40 please don't define a class if members are just st
Seigo Nonaka 2012/04/23 23:03:21 Okay but I removed this file. Thanks On 2012/04/20
+ public:
+ // Set an ibus-daemon server address into |address|,
+ // If there are no available addressses, this function returns false. In
+ // ChromeOS, the server address is stored in a file and which path is stored
+ // in environment variables.
+ static bool GetIBusAddress(std::string* address);
satorux1 2012/04/20 23:18:40 Instead of returning a boolean, you can return an
Seigo Nonaka 2012/04/23 23:03:21 Okay but I removed this file. Thanks On 2012/04/20
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(IBusUtil);
+};
+
+} // namespace chromeos
+
+#endif // CHROMEOS_DBUS_IBUS_IBUS_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698