| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 | 144 |
| 145 void AppResult::OnExtensionUnloaded(const extensions::Extension* extension) {} | 145 void AppResult::OnExtensionUnloaded(const extensions::Extension* extension) {} |
| 146 | 146 |
| 147 void AppResult::OnExtensionUninstalled(const extensions::Extension* extension) { | 147 void AppResult::OnExtensionUninstalled(const extensions::Extension* extension) { |
| 148 if (extension->id() != app_id_) | 148 if (extension->id() != app_id_) |
| 149 return; | 149 return; |
| 150 | 150 |
| 151 NotifyItemUninstalled(); | 151 NotifyItemUninstalled(); |
| 152 } | 152 } |
| 153 | 153 |
| 154 void AppResult::OnAppsReordered() {} | 154 void AppResult::OnAppListReordered() {} |
| 155 | 155 |
| 156 void AppResult::OnAppInstalledToAppList(const std::string& extension_id) {} | 156 void AppResult::OnAppInstalledToAppList(const std::string& extension_id) {} |
| 157 | 157 |
| 158 void AppResult::OnShutdown() { StopObservingInstall(); } | 158 void AppResult::OnShutdown() { StopObservingInstall(); } |
| 159 | 159 |
| 160 } // namespace app_list | 160 } // namespace app_list |
| OLD | NEW |