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 #include "chrome/browser/ui/startup/startup_tab.h" | 5 #include "chrome/browser/ui/startup/startup_tab.h" |
6 | 6 |
7 StartupTab::StartupTab() | 7 StartupTab::StartupTab() |
8 : is_pinned(true) { | 8 : is_pinned(true) { |
9 } | 9 } |
10 | 10 |
11 StartupTab::StartupTab(GURL url_, bool is_pinned_) | |
12 : url(url_), is_pinned(is_pinned_) {} | |
grt (UTC plus 2)
2016/09/09 11:40:30
i was going to suggest using std::move to get the
| |
13 | |
11 StartupTab::~StartupTab() { | 14 StartupTab::~StartupTab() { |
12 } | 15 } |
OLD | NEW |