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

Unified Diff: athena/main/url_search_provider.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/main/placeholder.cc ('k') | athena/test/sample_activity_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/main/url_search_provider.cc
diff --git a/athena/main/url_search_provider.cc b/athena/main/url_search_provider.cc
index 5fcea5a0efd6031949cf1b953f75a91f7ac9601c..5ca3b7f7b5fa8692bff8c576d658e03c3c82b604 100644
--- a/athena/main/url_search_provider.cc
+++ b/athena/main/url_search_provider.cc
@@ -5,7 +5,6 @@
#include "athena/main/url_search_provider.h"
#include "athena/activity/public/activity_factory.h"
-#include "athena/activity/public/activity_manager.h"
#include "athena/content/public/scheme_classifier_factory.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
@@ -172,9 +171,8 @@ class UrlSearchResult : public app_list::SearchResult {
private:
// Overriddenn from app_list::SearchResult:
virtual void Open(int event_flags) OVERRIDE {
- ActivityManager::Get()->AddActivity(
- ActivityFactory::Get()->CreateWebActivity(
- browser_context_, base::string16(), match_.destination_url));
+ ActivityFactory::Get()->CreateWebActivity(
+ browser_context_, base::string16(), match_.destination_url);
}
void UpdateIcon() {
« no previous file with comments | « athena/main/placeholder.cc ('k') | athena/test/sample_activity_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698