1// Copyright (c) 2011 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#ifndef CHROME_BROWSER_TABS_PINNED_TAB_TEST_UTILS_H_ 6#define CHROME_BROWSER_TABS_PINNED_TAB_TEST_UTILS_H_ 7#pragma once 8 9#include <string> 10#include <vector> 11 12#include "base/basictypes.h" 13#include "chrome/browser/ui/browser_init.h" 14 15class PinnedTabTestUtils { 16 public: 17 // Converts a set of Tabs into a string. The format is a space separated list 18 // of urls. If the tab is an app, ':app' is appended, and if the tab is 19 // pinned, ':pinned' is appended. 20 static std::string TabsToString( 21 const std::vector<BrowserInit::LaunchWithProfile::Tab>& values); 22 23 private: 24 DISALLOW_IMPLICIT_CONSTRUCTORS(PinnedTabTestUtils); 25}; 26 27#endif // CHROME_BROWSER_TABS_PINNED_TAB_TEST_UTILS_H_ 28