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