1 // Copyright (c) 2012 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.
5 #include "chrome/browser/ui/tabs/pinned_tab_test_utils.h"
9 std::string
TabToString(const StartupTab
& tab
) {
10 return tab
.url
.spec() + ":" + (tab
.is_pinned
? "pinned" : "");
16 std::string
PinnedTabTestUtils::TabsToString(
17 const std::vector
<StartupTab
>& values
) {
19 for (size_t i
= 0; i
< values
.size(); ++i
) {
22 result
+= TabToString(values
[i
]);