Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: chrome/browser/tabs/pinned_tab_test_utils.h

Issue 10332117: Revert 136573 - Extract StartupTabs and startup types from StartupBrowserCreator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/startup/startup_tab.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(const std::vector<StartupTab>& values); 20 static std::string TabsToString(
21 const std::vector<StartupBrowserCreator::LaunchWithProfile::Tab>& values);
21 22
22 private: 23 private:
23 DISALLOW_IMPLICIT_CONSTRUCTORS(PinnedTabTestUtils); 24 DISALLOW_IMPLICIT_CONSTRUCTORS(PinnedTabTestUtils);
24 }; 25 };
25 26
26 #endif // CHROME_BROWSER_TABS_PINNED_TAB_TEST_UTILS_H_ 27 #endif // CHROME_BROWSER_TABS_PINNED_TAB_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/tabs/pinned_tab_codec_unittest.cc ('k') | chrome/browser/tabs/pinned_tab_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698