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

Unified Diff: athena/main/placeholder.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/home/home_card_unittest.cc ('k') | athena/main/url_search_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/main/placeholder.cc
diff --git a/athena/main/placeholder.cc b/athena/main/placeholder.cc
index d29f1ab292660b285367b263316cc9d39919c48a..0baa542dea11b694f8232f4b7f28c6de55946627 100644
--- a/athena/main/placeholder.cc
+++ b/athena/main/placeholder.cc
@@ -5,7 +5,6 @@
#include "athena/main/placeholder.h"
#include "athena/activity/public/activity_factory.h"
-#include "athena/activity/public/activity_manager.h"
#include "athena/resources/grit/athena_resources.h"
#include "athena/system/public/system_ui.h"
#include "ui/base/resource/resource_bundle.h"
@@ -17,9 +16,8 @@ void CreateTestPages(content::BrowserContext* browser_context) {
"http://blue.bikeshed.com", "https://www.google.com",
};
for (size_t i = 0; i < arraysize(kTestURLs); ++i) {
- athena::ActivityManager::Get()->AddActivity(
- athena::ActivityFactory::Get()->CreateWebActivity(
- browser_context, base::string16(), GURL(kTestURLs[i])));
+ athena::ActivityFactory::Get()->CreateWebActivity(
+ browser_context, base::string16(), GURL(kTestURLs[i]));
}
}
« no previous file with comments | « athena/home/home_card_unittest.cc ('k') | athena/main/url_search_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698