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

Side by Side Diff: services/ui/ws/test_change_tracker.cc

Issue 2603893002: Remove mojo::Map. (Closed)
Patch Set: 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 "services/ui/ws/test_change_tracker.h" 5 #include "services/ui/ws/test_change_tracker.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "mojo/common/common_type_converters.h" 11 #include "mojo/common/common_type_converters.h"
12 #include "mojo/public/cpp/bindings/map.h"
12 #include "services/ui/common/util.h" 13 #include "services/ui/common/util.h"
13 14
14 using mojo::Array; 15 using mojo::Array;
15 using mojo::String; 16 using mojo::String;
16 17
17 namespace ui { 18 namespace ui {
18 19
19 namespace ws { 20 namespace ws {
20 21
21 std::string WindowIdToString(Id id) { 22 std::string WindowIdToString(Id id) {
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 459
459 std::string TestWindow::ToString2() const { 460 std::string TestWindow::ToString2() const {
460 return base::StringPrintf( 461 return base::StringPrintf(
461 "window=%s parent=%s visible=%s", WindowIdToString(window_id).c_str(), 462 "window=%s parent=%s visible=%s", WindowIdToString(window_id).c_str(),
462 WindowIdToString(parent_id).c_str(), visible ? "true" : "false"); 463 WindowIdToString(parent_id).c_str(), visible ? "true" : "false");
463 } 464 }
464 465
465 } // namespace ws 466 } // namespace ws
466 467
467 } // namespace ui 468 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698