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

Unified Diff: ui/app_list/app_list_model.cc

Issue 63283003: Move AppListModel::Users to AppListViewDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mac fixes Created 7 years, 1 month 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 | « ui/app_list/app_list_model.h ('k') | ui/app_list/app_list_model_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_model.cc
diff --git a/ui/app_list/app_list_model.cc b/ui/app_list/app_list_model.cc
index 40bb8e927381d50e19fadf274510886e84a595de..535fff27c33030c7361d48a43962253c4e829458 100644
--- a/ui/app_list/app_list_model.cc
+++ b/ui/app_list/app_list_model.cc
@@ -11,10 +11,6 @@
namespace app_list {
-AppListModel::User::User() : active(false) {}
-
-AppListModel::User::~User() {}
-
AppListModel::AppListModel()
: item_list_(new AppListItemList),
search_box_(new SearchBoxModel),
@@ -44,13 +40,6 @@ void AppListModel::SetStatus(Status status) {
OnAppListModelStatusChanged());
}
-void AppListModel::SetUsers(const Users& users) {
- users_ = users;
- FOR_EACH_OBSERVER(AppListModelObserver,
- observers_,
- OnAppListModelUsersChanged());
-}
-
void AppListModel::SetSignedIn(bool signed_in) {
if (signed_in_ == signed_in)
return;
« no previous file with comments | « ui/app_list/app_list_model.h ('k') | ui/app_list/app_list_model_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698