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

Side by Side Diff: chrome/browser/ui/app_list/search/app_search_provider.cc

Issue 398083002: Add "UninstallReason" parameter to ExtensionRegistryObserver::OnExtensionUninstalled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix header file. Created 6 years, 5 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698