OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "content/common/ax_content_node_data.h" |
| 6 |
| 7 #include <algorithm> |
| 8 |
5 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
6 #include "content/common/ax_content_node_data.h" | |
7 | 10 |
8 using base::IntToString; | 11 using base::IntToString; |
9 | 12 |
10 namespace content { | 13 namespace content { |
11 | 14 |
12 namespace { | 15 namespace { |
13 | 16 |
14 // Helper function that finds a key in a vector of pairs by matching on the | 17 // Helper function that finds a key in a vector of pairs by matching on the |
15 // first value, and returns an iterator. | 18 // first value, and returns an iterator. |
16 template<typename FirstType, typename SecondType> | 19 template<typename FirstType, typename SecondType> |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 100 |
98 if (routing_id != -1) | 101 if (routing_id != -1) |
99 result += " routing_id=" + IntToString(routing_id); | 102 result += " routing_id=" + IntToString(routing_id); |
100 if (parent_routing_id != -1) | 103 if (parent_routing_id != -1) |
101 result += " parent_routing_id=" + IntToString(parent_routing_id); | 104 result += " parent_routing_id=" + IntToString(parent_routing_id); |
102 | 105 |
103 return result; | 106 return result; |
104 } | 107 } |
105 | 108 |
106 } // namespace ui | 109 } // namespace ui |
OLD | NEW |