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

Side by Side Diff: ui/display/chromeos/test/action_logger.h

Issue 2540313002: Split //ui/display and create //ui/display/manager. (Closed)
Patch Set: Cleanup export header. Created 4 years 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
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
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_DISPLAY_CHROMEOS_TEST_ACTION_LOGGER_H_
6 #define UI_DISPLAY_CHROMEOS_TEST_ACTION_LOGGER_H_
7
8 #include <string>
9
10 #include "base/macros.h"
11
12 namespace ui {
13 namespace test {
14
15 class ActionLogger {
16 public:
17 ActionLogger();
18 ~ActionLogger();
19
20 void AppendAction(const std::string& action);
21
22 // Returns a comma-separated string describing the actions that were
23 // requested since the previous call to GetActionsAndClear() (i.e.
24 // results are non-repeatable).
25 std::string GetActionsAndClear();
26
27 private:
28 std::string actions_;
29
30 DISALLOW_COPY_AND_ASSIGN(ActionLogger);
31 };
32
33 } // namespace test
34 } // namespace ui
35
36 #endif // UI_DISPLAY_CHROMEOS_TEST_ACTION_LOGGER_H_
OLDNEW
« no previous file with comments | « ui/display/chromeos/query_content_protection_task_unittest.cc ('k') | ui/display/chromeos/test/action_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698