OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_UI_STARTUP_STARTUP_TAB_H_ | 5 #ifndef CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_ |
6 #define CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_ | 6 #define CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_ |
7 | 7 |
8 #include <string> | |
9 #include <vector> | 8 #include <vector> |
10 | 9 |
11 #include "url/gurl.h" | 10 #include "url/gurl.h" |
12 | 11 |
13 // Represents tab data at startup. | 12 // Represents tab data at startup. |
14 struct StartupTab { | 13 struct StartupTab { |
15 StartupTab(); | 14 StartupTab(); |
| 15 StartupTab(const GURL& url, bool is_pinned); |
16 ~StartupTab(); | 16 ~StartupTab(); |
17 | 17 |
18 // The url to load. | 18 // The url to load. |
19 GURL url; | 19 GURL url; |
20 | 20 |
21 // True if the is tab pinned. | 21 // True if the is tab pinned. |
22 bool is_pinned; | 22 bool is_pinned; |
23 }; | 23 }; |
24 | 24 |
25 typedef std::vector<StartupTab> StartupTabs; | 25 typedef std::vector<StartupTab> StartupTabs; |
26 | 26 |
27 #endif // CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_ | 27 #endif // CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_ |
OLD | NEW |