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

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

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 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_SEARCH_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_SEARCH_PROVIDER_H_
6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_SEARCH_PROVIDER_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_SEARCH_PROVIDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/scoped_observer.h" 10 #include "base/scoped_observer.h"
(...skipping 28 matching lines...) Expand all
39 // Adds extensions to apps container if they should be displayed. 39 // Adds extensions to apps container if they should be displayed.
40 void AddApps(const extensions::ExtensionSet& extensions); 40 void AddApps(const extensions::ExtensionSet& extensions);
41 void RefreshApps(); 41 void RefreshApps();
42 42
43 // extensions::ExtensionRegistryObserver overrides: 43 // extensions::ExtensionRegistryObserver overrides:
44 virtual void OnExtensionLoaded( 44 virtual void OnExtensionLoaded(
45 content::BrowserContext* browser_context, 45 content::BrowserContext* browser_context,
46 const extensions::Extension* extension) OVERRIDE; 46 const extensions::Extension* extension) OVERRIDE;
47 virtual void OnExtensionUninstalled( 47 virtual void OnExtensionUninstalled(
48 content::BrowserContext* browser_context, 48 content::BrowserContext* browser_context,
49 const extensions::Extension* extension) OVERRIDE; 49 const extensions::Extension* extension,
50 extensions::UninstallReason reason) OVERRIDE;
50 51
51 Profile* profile_; 52 Profile* profile_;
52 AppListControllerDelegate* list_controller_; 53 AppListControllerDelegate* list_controller_;
53 54
54 ScopedObserver<extensions::ExtensionRegistry, 55 ScopedObserver<extensions::ExtensionRegistry,
55 extensions::ExtensionRegistryObserver> 56 extensions::ExtensionRegistryObserver>
56 extension_registry_observer_; 57 extension_registry_observer_;
57 58
58 Apps apps_; 59 Apps apps_;
59 60
60 DISALLOW_COPY_AND_ASSIGN(AppSearchProvider); 61 DISALLOW_COPY_AND_ASSIGN(AppSearchProvider);
61 }; 62 };
62 63
63 } // namespace app_list 64 } // namespace app_list
64 65
65 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_SEARCH_PROVIDER_H_ 66 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_SEARCH_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/search/app_result.cc ('k') | chrome/browser/ui/app_list/search/app_search_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698