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

Unified Diff: ash/launcher/launcher_unittest.cc

Issue 9649013: Show a different icon in the launcher for incognito windows (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Re-upload Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/launcher/launcher_types.cc ('k') | ash/launcher/launcher_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_unittest.cc
diff --git a/ash/launcher/launcher_unittest.cc b/ash/launcher/launcher_unittest.cc
index b0b1be6960db73f430e321ba053271c88d16f35e..86b2af528cdaf6364f615721c8010dda495c8708 100644
--- a/ash/launcher/launcher_unittest.cc
+++ b/ash/launcher/launcher_unittest.cc
@@ -48,7 +48,8 @@ TEST_F(LauncherTest, LaunchApp) {
int item_count = model->item_count();
// Add closed app.
- LauncherItem item(TYPE_APP);
+ LauncherItem item;
+ item.type = TYPE_APP;
model->Add(item_count, item);
ASSERT_EQ(++button_count, test.GetButtonCount());
LauncherButton* button = test.GetButton(button_count - 1);
@@ -86,7 +87,8 @@ TEST_F(LauncherTest, OpenBrowser) {
int item_count = model->item_count();
// Add running tab.
- LauncherItem item(TYPE_TABBED);
+ LauncherItem item;
+ item.type = TYPE_TABBED;
item.status = STATUS_RUNNING;
model->Add(item_count, item);
ASSERT_EQ(++button_count, test.GetButtonCount());
« no previous file with comments | « ash/launcher/launcher_types.cc ('k') | ash/launcher/launcher_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698