Home | History | Annotate | Download | only in tabs
      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.
      4 
      5 #ifndef CHROME_BROWSER_UI_TABS_PINNED_TAB_TEST_UTILS_H_
      6 #define CHROME_BROWSER_UI_TABS_PINNED_TAB_TEST_UTILS_H_
      7 
      8 #include <string>
      9 #include <vector>
     10 
     11 #include "base/basictypes.h"
     12 #include "chrome/browser/ui/startup/startup_tab.h"
     13 
     14 class PinnedTabTestUtils {
     15  public:
     16   // Converts a set of Tabs into a string. The format is a space separated list
     17   // of urls. If the tab is an app, ':app' is appended, and if the tab is
     18   // pinned, ':pinned' is appended.
     19   static std::string TabsToString(const std::vector<StartupTab>& values);
     20 
     21  private:
     22   DISALLOW_IMPLICIT_CONSTRUCTORS(PinnedTabTestUtils);
     23 };
     24 
     25 #endif  // CHROME_BROWSER_UI_TABS_PINNED_TAB_TEST_UTILS_H_
     26