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

Unified Diff: ash/app_list/app_list_shower_delegate_factory.cc

Issue 1872033002: Revert of AppListController refactoring part 2: Ash's AppListShowerDelegate imlementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus_chrome_delegates_app_list_2
Patch Set: Created 4 years, 8 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/app_list/app_list_shower_delegate_factory.h ('k') | ash/app_list/app_list_shower_delegate_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/app_list/app_list_shower_delegate_factory.cc
diff --git a/ash/app_list/app_list_shower_delegate_factory.cc b/ash/app_list/app_list_shower_delegate_factory.cc
deleted file mode 100644
index 5ac2d7b1d7967ad1960f6ad69994fb4543d87a91..0000000000000000000000000000000000000000
--- a/ash/app_list/app_list_shower_delegate_factory.cc
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2016 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 "ash/app_list/app_list_shower_delegate_factory.h"
-
-#include "ash/app_list/app_list_shower_delegate.h"
-#include "ash/app_list/app_list_view_delegate_factory.h"
-#include "base/memory/ptr_util.h"
-
-namespace ash {
-
-AppListShowerDelegateFactory::AppListShowerDelegateFactory(
- std::unique_ptr<AppListViewDelegateFactory> view_delegate_factory)
- : view_delegate_factory_(std::move(view_delegate_factory)) {}
-
-AppListShowerDelegateFactory::~AppListShowerDelegateFactory() {}
-
-std::unique_ptr<app_list::AppListShowerDelegate>
-AppListShowerDelegateFactory::GetDelegate(app_list::AppListShower* shower) {
- return base::WrapUnique(
- new AppListShowerDelegate(shower, view_delegate_factory_.get()));
-}
-
-} // namespace ash
« no previous file with comments | « ash/app_list/app_list_shower_delegate_factory.h ('k') | ash/app_list/app_list_shower_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698