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

Unified Diff: athena/home/home_card_unittest.cc

Issue 596493002: Add actiivity in factory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « athena/extensions/chrome/extensions_delegate_impl.cc ('k') | athena/main/placeholder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/home/home_card_unittest.cc
diff --git a/athena/home/home_card_unittest.cc b/athena/home/home_card_unittest.cc
index 6f6446b4058bbb2efc2071227d150360f65a3342..fe7083ff1ca0f4a95ae048766d07b6206895f928 100644
--- a/athena/home/home_card_unittest.cc
+++ b/athena/home/home_card_unittest.cc
@@ -5,7 +5,6 @@
#include "athena/home/public/home_card.h"
#include "athena/activity/public/activity_factory.h"
-#include "athena/activity/public/activity_manager.h"
#include "athena/home/home_card_constants.h"
#include "athena/home/home_card_impl.h"
#include "athena/test/athena_test_base.h"
@@ -107,9 +106,8 @@ TEST_F(HomeCardTest, AppSelection) {
WindowManager::GetInstance()->ToggleOverview();
EXPECT_EQ(HomeCard::VISIBLE_BOTTOM, HomeCard::Get()->GetState());
- athena::ActivityManager::Get()->AddActivity(
- athena::ActivityFactory::Get()->CreateWebActivity(
- NULL, base::string16(), GURL("http://www.google.com/")));
+ athena::ActivityFactory::Get()->CreateWebActivity(
+ NULL, base::string16(), GURL("http://www.google.com/"));
EXPECT_EQ(HomeCard::VISIBLE_MINIMIZED, HomeCard::Get()->GetState());
}
« no previous file with comments | « athena/extensions/chrome/extensions_delegate_impl.cc ('k') | athena/main/placeholder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698