OLD | NEW |
| (Empty) |
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_STARTUP_STARTUP_TAB_H_ | |
6 #define CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_ | |
7 #pragma once | |
8 | |
9 #include <string> | |
10 #include <vector> | |
11 | |
12 #include "googleurl/src/gurl.h" | |
13 | |
14 // Represents tab data at startup. | |
15 struct StartupTab { | |
16 StartupTab(); | |
17 ~StartupTab(); | |
18 | |
19 // The url to load. | |
20 GURL url; | |
21 | |
22 // If true, the tab corresponds to an app an |app_id| gives the id of the | |
23 // app. | |
24 bool is_app; | |
25 | |
26 // True if the is tab pinned. | |
27 bool is_pinned; | |
28 | |
29 // Id of the app. | |
30 std::string app_id; | |
31 }; | |
32 | |
33 typedef std::vector<StartupTab> StartupTabs; | |
34 | |
35 #endif // CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_ | |
OLD | NEW |