OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | |
sky
2016/01/08 16:51:57
don't use (c) anymore.
Shu Chen
2016/01/09 01:46:02
Done.
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef UI_BASE_IME_INPUT_METHOD_LOG_COLLECTOR_H_ | |
6 #define UI_BASE_IME_INPUT_METHOD_LOG_COLLECTOR_H_ | |
7 | |
8 #include <string> | |
9 #include <vector> | |
10 | |
11 #include "ui/base/ime/ui_base_ime_export.h" | |
12 | |
13 namespace ui { | |
14 | |
15 class UI_BASE_IME_EXPORT InputMethodLogCollector { | |
16 public: | |
17 InputMethodLogCollector(); | |
18 virtual ~InputMethodLogCollector(); | |
19 void AddLog(const std::string& log_string); | |
20 void OutputLogs(); | |
21 void ClearLogs(); | |
22 | |
23 private: | |
24 std::vector<std::string> logs_; | |
25 }; | |
26 | |
27 } // namespace ui | |
28 | |
29 #endif // UI_BASE_IME_INPUT_METHOD_LOG_COLLECTOR_H_ | |
OLD | NEW |