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

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

Issue 2613493002: Fix namespace for src/ui/display/. (Closed)
Patch Set: Rebase. Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/display/manager/chromeos/test/action_logger.h" 5 #include "ui/display/manager/chromeos/test/action_logger.h"
6 6
7 namespace ui { 7 namespace display {
8 namespace test { 8 namespace test {
9 9
10 ActionLogger::ActionLogger() {} 10 ActionLogger::ActionLogger() {}
11 11
12 ActionLogger::~ActionLogger() {} 12 ActionLogger::~ActionLogger() {}
13 13
14 void ActionLogger::AppendAction(const std::string& action) { 14 void ActionLogger::AppendAction(const std::string& action) {
15 if (!actions_.empty()) 15 if (!actions_.empty())
16 actions_ += ","; 16 actions_ += ",";
17 actions_ += action; 17 actions_ += action;
18 } 18 }
19 19
20 std::string ActionLogger::GetActionsAndClear() { 20 std::string ActionLogger::GetActionsAndClear() {
21 std::string actions = actions_; 21 std::string actions = actions_;
22 actions_.clear(); 22 actions_.clear();
23 return actions; 23 return actions;
24 } 24 }
25 25
26 } // namespace test 26 } // namespace test
27 } // namespace ui 27 } // namespace display
OLDNEW
« no previous file with comments | « ui/display/manager/chromeos/test/action_logger.h ('k') | ui/display/manager/chromeos/test/action_logger_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698