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

Unified Diff: ui/app_list/app_list_model.cc

Issue 853743002: First pass at fixing guest browser cookies issue. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delete the Profile Manager. Guest Profile doesn't write to autocomplete/history. Views still needs … Created 5 years, 10 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 | « chrome/browser/ui/browser_list.cc ('k') | ui/app_list/views/app_list_folder_view.cc » ('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 491087ec18c90447625f11ce35a4d7addc46d4e6..36cefc3d7b4e9b026b07ceb564834439e44254d6 100644
--- a/ui/app_list/app_list_model.cc
+++ b/ui/app_list/app_list_model.cc
@@ -27,11 +27,13 @@ AppListModel::AppListModel()
AppListModel::~AppListModel() { top_level_item_list_->RemoveObserver(this); }
void AppListModel::AddObserver(AppListModelObserver* observer) {
+ DLOG(ERROR) << "Adding " << observer;
observers_.AddObserver(observer);
}
void AppListModel::RemoveObserver(AppListModelObserver* observer) {
- observers_.RemoveObserver(observer);
+ DLOG(ERROR) << "Removing " << observer;
+ observers_.RemoveObserver(observer);
}
void AppListModel::SetStatus(Status status) {
« no previous file with comments | « chrome/browser/ui/browser_list.cc ('k') | ui/app_list/views/app_list_folder_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698