| 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/recommended_apps.h" | 5 #include "chrome/browser/ui/app_list/recommended_apps.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 111 |
| 112 void RecommendedApps::OnExtensionUnloaded( | 112 void RecommendedApps::OnExtensionUnloaded( |
| 113 content::BrowserContext* browser_context, | 113 content::BrowserContext* browser_context, |
| 114 const extensions::Extension* extension, | 114 const extensions::Extension* extension, |
| 115 extensions::UnloadedExtensionInfo::Reason reason) { | 115 extensions::UnloadedExtensionInfo::Reason reason) { |
| 116 Update(); | 116 Update(); |
| 117 } | 117 } |
| 118 | 118 |
| 119 void RecommendedApps::OnExtensionUninstalled( | 119 void RecommendedApps::OnExtensionUninstalled( |
| 120 content::BrowserContext* browser_context, | 120 content::BrowserContext* browser_context, |
| 121 const extensions::Extension* extension) { | 121 const extensions::Extension* extension, |
| 122 extensions::UninstallReason reason) { |
| 122 Update(); | 123 Update(); |
| 123 } | 124 } |
| 124 | 125 |
| 125 } // namespace app_list | 126 } // namespace app_list |
| OLD | NEW |