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