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

Side by Side Diff: chrome/browser/ui/startup/startup_tab.h

Issue 2164033002: Refactoring startup logic for upcoming FRE changes (non-Win 10). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Attempting submission Created 4 years, 2 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
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698