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

Side by Side Diff: chrome/browser/ui/app_list/recommended_apps.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_RECOMMENDED_APPS_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_RECOMMENDED_APPS_H_
6 #define CHROME_BROWSER_UI_APP_LIST_RECOMMENDED_APPS_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_RECOMMENDED_APPS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 const std::string& old_name) OVERRIDE; 50 const std::string& old_name) OVERRIDE;
51 virtual void OnExtensionLoaded( 51 virtual void OnExtensionLoaded(
52 content::BrowserContext* browser_context, 52 content::BrowserContext* browser_context,
53 const extensions::Extension* extension) OVERRIDE; 53 const extensions::Extension* extension) OVERRIDE;
54 virtual void OnExtensionUnloaded( 54 virtual void OnExtensionUnloaded(
55 content::BrowserContext* browser_context, 55 content::BrowserContext* browser_context,
56 const extensions::Extension* extension, 56 const extensions::Extension* extension,
57 extensions::UnloadedExtensionInfo::Reason reason) OVERRIDE; 57 extensions::UnloadedExtensionInfo::Reason reason) OVERRIDE;
58 virtual void OnExtensionUninstalled( 58 virtual void OnExtensionUninstalled(
59 content::BrowserContext* browser_context, 59 content::BrowserContext* browser_context,
60 const extensions::Extension* extension) OVERRIDE; 60 const extensions::Extension* extension,
61 extensions::UninstallReason reason) OVERRIDE;
61 62
62 Profile* profile_; 63 Profile* profile_;
63 PrefChangeRegistrar pref_change_registrar_; 64 PrefChangeRegistrar pref_change_registrar_;
64 65
65 Apps apps_; 66 Apps apps_;
66 ObserverList<RecommendedAppsObserver, true> observers_; 67 ObserverList<RecommendedAppsObserver, true> observers_;
67 68
68 ScopedObserver<extensions::ExtensionRegistry, 69 ScopedObserver<extensions::ExtensionRegistry,
69 extensions::ExtensionRegistryObserver> 70 extensions::ExtensionRegistryObserver>
70 extension_registry_observer_; 71 extension_registry_observer_;
71 72
72 DISALLOW_COPY_AND_ASSIGN(RecommendedApps); 73 DISALLOW_COPY_AND_ASSIGN(RecommendedApps);
73 }; 74 };
74 75
75 } // namespace app_list 76 } // namespace app_list
76 77
77 #endif // CHROME_BROWSER_UI_APP_LIST_RECOMMENDED_APPS_H_ 78 #endif // CHROME_BROWSER_UI_APP_LIST_RECOMMENDED_APPS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/extension_uninstaller.cc ('k') | chrome/browser/ui/app_list/recommended_apps.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698