Chromium Code Reviews| 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 "ash/launcher/launcher_types.h" | 5 #include "ash/launcher/launcher_types.h" |
| 6 | 6 |
| 7 namespace ash { | 7 namespace ash { |
| 8 | 8 |
| 9 LauncherItem::LauncherItem() | 9 LauncherItem::LauncherItem() |
| 10 : type(TYPE_TABBED), | 10 : type(TYPE_TABBED), |
| 11 num_tabs(1), | 11 num_tabs(1), |
| 12 private_tab(false), | |
| 12 id(0) { | 13 id(0) { |
| 13 } | 14 } |
| 14 | 15 |
| 15 LauncherItem::LauncherItem(LauncherItemType type) | 16 LauncherItem::LauncherItem(LauncherItemType type, bool is_private) |
| 16 : type(type), | 17 : type(type), |
| 17 num_tabs(0), | 18 num_tabs(0), |
| 19 private_tab(is_private), | |
|
sky
2012/03/09 18:18:08
Having to maintain these two constructors is becom
Zachary Kuznia
2012/03/09 22:17:35
Done.
| |
| 18 id(0) { | 20 id(0) { |
| 19 } | 21 } |
| 20 | 22 |
| 21 LauncherItem::~LauncherItem() { | 23 LauncherItem::~LauncherItem() { |
| 22 } | 24 } |
| 23 | 25 |
| 24 } // namespace ash | 26 } // namespace ash |
| OLD | NEW |