blob: ca9fd56b61e219bee9607282f87ce3ac29a9c8c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_TABS_PINNED_TAB_TEST_UTILS_H_
#define CHROME_BROWSER_UI_TABS_PINNED_TAB_TEST_UTILS_H_
#pragma once
#include <string>
#include <vector>
#include "base/basictypes.h"
#include "chrome/browser/ui/startup/startup_tab.h"
class PinnedTabTestUtils {
public:
// Converts a set of Tabs into a string. The format is a space separated list
// of urls. If the tab is an app, ':app' is appended, and if the tab is
// pinned, ':pinned' is appended.
static std::string TabsToString(const std::vector<StartupTab>& values);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(PinnedTabTestUtils);
};
#endif // CHROME_BROWSER_UI_TABS_PINNED_TAB_TEST_UTILS_H_
|