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

Unified Diff: chrome/browser/chromeos/input_method/input_method_switch_recorder.h

Issue 2925683002: Revert of chromeos: Remove some IME methods from ash::SystemTrayDelegate (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/input_method/input_method_switch_recorder.h
diff --git a/chrome/browser/chromeos/input_method/input_method_switch_recorder.h b/chrome/browser/chromeos/input_method/input_method_switch_recorder.h
new file mode 100644
index 0000000000000000000000000000000000000000..e53a2886a9d014fdb3fecd96d5eccdd166d5022e
--- /dev/null
+++ b/chrome/browser/chromeos/input_method/input_method_switch_recorder.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2014 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 CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_SWITCH_RECORDER_H_
+#define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_SWITCH_RECORDER_H_
+
+namespace chromeos {
+namespace input_method {
+
+// A class for recording UMA logs for IME switches.
+class InputMethodSwitchRecorder {
+ public:
+ InputMethodSwitchRecorder();
+ ~InputMethodSwitchRecorder();
+
+ static InputMethodSwitchRecorder* Get();
+ void RecordSwitch(bool by_tray_menu);
+};
+
+} // namespace input_method
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_SWITCH_RECORDER_H_
+

Powered by Google App Engine
This is Rietveld 408576698