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

Unified Diff: chrome/browser/ui/app_list/search/app_result.cc

Issue 23072036: Adds an integration test for uninstalling app list search results. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get test passing on windows, expected event is not being observed though Created 7 years, 4 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: chrome/browser/ui/app_list/search/app_result.cc
diff --git a/chrome/browser/ui/app_list/search/app_result.cc b/chrome/browser/ui/app_list/search/app_result.cc
index 1c49dd3c11d980d549a0146a888d169d9a046009..8e589fc7df88b25c0cd5c0619d31fdc81014ee0a 100644
--- a/chrome/browser/ui/app_list/search/app_result.cc
+++ b/chrome/browser/ui/app_list/search/app_result.cc
@@ -116,6 +116,7 @@ void AppResult::StartObservingInstall() {
install_tracker_ = extensions::InstallTrackerFactory::GetForProfile(profile_);
install_tracker_->AddObserver(this);
+ DLOG(INFO) << "Observing: " << app_id_;
}
void AppResult::StopObservingInstall() {
@@ -198,6 +199,7 @@ void AppResult::OnExtensionLoaded(const extensions::Extension* extension) {
void AppResult::OnExtensionUnloaded(const extensions::Extension* extension) {}
void AppResult::OnExtensionUninstalled(const extensions::Extension* extension) {
+ DLOG(INFO) << "uninstalleD: " << extension->id();
if (extension->id() != app_id_)
return;

Powered by Google App Engine
This is Rietveld 408576698