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

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

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
« no previous file with comments | « ui/display/chromeos/test/action_logger.h ('k') | ui/display/chromeos/test/action_logger_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "ui/display/chromeos/test/action_logger.h"
6
7 namespace ui {
8 namespace test {
9
10 ActionLogger::ActionLogger() {
11 }
12
13 ActionLogger::~ActionLogger() {
14 }
15
16 void ActionLogger::AppendAction(const std::string& action) {
17 if (!actions_.empty())
18 actions_ += ",";
19 actions_ += action;
20 }
21
22 std::string ActionLogger::GetActionsAndClear() {
23 std::string actions = actions_;
24 actions_.clear();
25 return actions;
26 }
27
28 } // namespace test
29 } // namespace ui
OLDNEW
« no previous file with comments | « ui/display/chromeos/test/action_logger.h ('k') | ui/display/chromeos/test/action_logger_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698