| OLD | NEW | 
 | (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_ |  | 
| OLD | NEW |