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

Side by Side Diff: chrome/browser/ui/webui/extensions/extension_settings_handler.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 const content::NotificationSource& source, 118 const content::NotificationSource& source,
119 const content::NotificationDetails& details) OVERRIDE; 119 const content::NotificationDetails& details) OVERRIDE;
120 120
121 // ExtensionRegistryObserver implementation. 121 // ExtensionRegistryObserver implementation.
122 virtual void OnExtensionLoaded(content::BrowserContext* browser_context, 122 virtual void OnExtensionLoaded(content::BrowserContext* browser_context,
123 const Extension* extension) OVERRIDE; 123 const Extension* extension) OVERRIDE;
124 virtual void OnExtensionUnloaded( 124 virtual void OnExtensionUnloaded(
125 content::BrowserContext* browser_context, 125 content::BrowserContext* browser_context,
126 const Extension* extension, 126 const Extension* extension,
127 UnloadedExtensionInfo::Reason reason) OVERRIDE; 127 UnloadedExtensionInfo::Reason reason) OVERRIDE;
128 virtual void OnExtensionUninstalled(content::BrowserContext* browser_context, 128 virtual void OnExtensionUninstalled(
129 const Extension* extension) OVERRIDE; 129 content::BrowserContext* browser_context,
130 const Extension* extension,
131 extensions::UninstallReason reason) OVERRIDE;
130 132
131 // ExtensionPrefsObserver implementation. 133 // ExtensionPrefsObserver implementation.
132 virtual void OnExtensionDisableReasonsChanged(const std::string& extension_id, 134 virtual void OnExtensionDisableReasonsChanged(const std::string& extension_id,
133 int disable_reasons) OVERRIDE; 135 int disable_reasons) OVERRIDE;
134 136
135 // ExtensionUninstallDialog::Delegate implementation, used for receiving 137 // ExtensionUninstallDialog::Delegate implementation, used for receiving
136 // notification about uninstall confirmation dialog selections. 138 // notification about uninstall confirmation dialog selections.
137 virtual void ExtensionUninstallAccepted() OVERRIDE; 139 virtual void ExtensionUninstallAccepted() OVERRIDE;
138 virtual void ExtensionUninstallCanceled() OVERRIDE; 140 virtual void ExtensionUninstallCanceled() OVERRIDE;
139 141
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // Whether we found any DISABLE_NOT_VERIFIED extensions and want to kick off 303 // Whether we found any DISABLE_NOT_VERIFIED extensions and want to kick off
302 // a verification check to try and rescue them. 304 // a verification check to try and rescue them.
303 bool should_do_verification_check_; 305 bool should_do_verification_check_;
304 306
305 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler); 307 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler);
306 }; 308 };
307 309
308 } // namespace extensions 310 } // namespace extensions
309 311
310 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ 312 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698