| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/app_list/search/app_result.h" | 5 #include "chrome/browser/ui/app_list/search/app_result.h" |
| 6 | 6 |
| 7 #include "chrome/browser/extensions/extension_service.h" | 7 #include "chrome/browser/extensions/extension_service.h" |
| 8 #include "chrome/browser/extensions/extension_system_factory.h" | 8 #include "chrome/browser/extensions/extension_system_factory.h" |
| 9 #include "chrome/browser/extensions/install_tracker.h" | 9 #include "chrome/browser/extensions/install_tracker.h" |
| 10 #include "chrome/browser/extensions/install_tracker_factory.h" | 10 #include "chrome/browser/extensions/install_tracker_factory.h" |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 | 197 |
| 198 void AppResult::OnExtensionUnloaded(const extensions::Extension* extension) {} | 198 void AppResult::OnExtensionUnloaded(const extensions::Extension* extension) {} |
| 199 | 199 |
| 200 void AppResult::OnExtensionUninstalled(const extensions::Extension* extension) { | 200 void AppResult::OnExtensionUninstalled(const extensions::Extension* extension) { |
| 201 if (extension->id() != app_id_) | 201 if (extension->id() != app_id_) |
| 202 return; | 202 return; |
| 203 | 203 |
| 204 NotifyItemUninstalled(); | 204 NotifyItemUninstalled(); |
| 205 } | 205 } |
| 206 | 206 |
| 207 void AppResult::OnAppsReordered() {} | 207 void AppResult::OnAppListReordered() {} |
| 208 | 208 |
| 209 void AppResult::OnAppInstalledToAppList(const std::string& extension_id) {} | 209 void AppResult::OnAppInstalledToAppList(const std::string& extension_id) {} |
| 210 | 210 |
| 211 void AppResult::OnShutdown() { StopObservingInstall(); } | 211 void AppResult::OnShutdown() { StopObservingInstall(); } |
| 212 | 212 |
| 213 } // namespace app_list | 213 } // namespace app_list |
| OLD | NEW |