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

Unified Diff: athena/extensions/chrome/chrome_search_controller_factory.cc

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
Index: athena/extensions/chrome/chrome_search_controller_factory.cc
diff --git a/athena/extensions/chrome/chrome_search_controller_factory.cc b/athena/extensions/chrome/chrome_search_controller_factory.cc
deleted file mode 100644
index d39c79881ce6b1dca8994d54d9b1c83cae860338..0000000000000000000000000000000000000000
--- a/athena/extensions/chrome/chrome_search_controller_factory.cc
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "athena/extensions/chrome/chrome_search_controller_factory.h"
-
-#include "athena/extensions/chrome/app_list_controller_delegate_athena.h"
-#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/ui/app_list/search/search_controller_factory.h"
-
-namespace athena {
-
-ChromeSearchControllerFactory::ChromeSearchControllerFactory(
- content::BrowserContext* browser_context)
- : browser_context_(browser_context) {
-}
-
-ChromeSearchControllerFactory::~ChromeSearchControllerFactory() {
-}
-
-scoped_ptr<app_list::SearchController> ChromeSearchControllerFactory::Create(
- app_list::SearchBoxModel* search_box,
- app_list::AppListModel::SearchResults* results) {
- list_controller_.reset(new AppListControllerDelegateAthena());
- return app_list::CreateSearchController(
- Profile::FromBrowserContext(browser_context_),
- search_box,
- results,
- list_controller_.get());
-}
-
-scoped_ptr<SearchControllerFactory> CreateSearchControllerFactory(
- content::BrowserContext* context) {
- return make_scoped_ptr(new ChromeSearchControllerFactory(context));
-}
-
-} // namespace athena
« no previous file with comments | « athena/extensions/chrome/chrome_search_controller_factory.h ('k') | athena/extensions/chrome/extensions_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698