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_search_provider.h" | 5 #include "chrome/browser/ui/app_list/search/app_search_provider.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "chrome/browser/extensions/extension_service.h" | 10 #include "chrome/browser/extensions/extension_service.h" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 } | 97 } |
98 | 98 |
99 void AppSearchProvider::OnExtensionLoaded( | 99 void AppSearchProvider::OnExtensionLoaded( |
100 content::BrowserContext* browser_context, | 100 content::BrowserContext* browser_context, |
101 const extensions::Extension* extension) { | 101 const extensions::Extension* extension) { |
102 RefreshApps(); | 102 RefreshApps(); |
103 } | 103 } |
104 | 104 |
105 void AppSearchProvider::OnExtensionUninstalled( | 105 void AppSearchProvider::OnExtensionUninstalled( |
106 content::BrowserContext* browser_context, | 106 content::BrowserContext* browser_context, |
107 const extensions::Extension* extension) { | 107 const extensions::Extension* extension, |
| 108 extensions::UninstallReason reason) { |
108 RefreshApps(); | 109 RefreshApps(); |
109 } | 110 } |
110 | 111 |
111 } // namespace app_list | 112 } // namespace app_list |
OLD | NEW |