summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/startup/startup_tab.h
blob: ea8916c096c63b2eb23bb10f12858e4c5a64b44b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_
#define CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_

#include <string>
#include <vector>

#include "googleurl/src/gurl.h"

// Represents tab data at startup.
struct StartupTab {
  StartupTab();
  ~StartupTab();

  // The url to load.
  GURL url;

  // If true, the tab corresponds to an app an |app_id| gives the id of the
  // app.
  bool is_app;

  // True if the is tab pinned.
  bool is_pinned;

  // Id of the app.
  std::string app_id;
};

typedef std::vector<StartupTab> StartupTabs;

#endif  // CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_