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

Side by Side Diff: chrome/browser/chrome_notification_types.h

Issue 398083002: Add "UninstallReason" parameter to ExtensionRegistryObserver::OnExtensionUninstalled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_CHROME_NOTIFICATION_TYPES_H_ 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ 6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/public/browser/notification_types.h" 9 #include "content/public/browser/notification_types.h"
10 10
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 // extensions are updated. The details are an InstalledExtensionInfo, and the 411 // extensions are updated. The details are an InstalledExtensionInfo, and the
412 // source is a Profile. 412 // source is a Profile.
413 NOTIFICATION_EXTENSION_WILL_BE_INSTALLED_DEPRECATED, 413 NOTIFICATION_EXTENSION_WILL_BE_INSTALLED_DEPRECATED,
414 414
415 // An error occured during extension install. The details are a string with 415 // An error occured during extension install. The details are a string with
416 // details about why the install failed. 416 // details about why the install failed.
417 NOTIFICATION_EXTENSION_INSTALL_ERROR, 417 NOTIFICATION_EXTENSION_INSTALL_ERROR,
418 418
419 // DEPRECATED: Use ExtensionRegistry::AddObserver instead. 419 // DEPRECATED: Use ExtensionRegistry::AddObserver instead.
420 // 420 //
421 // Sent when an extension has been uninstalled. The details are an Extension, 421 // Sent when an extension has been uninstalled. The details are an
422 // and the source is a Profile. 422 // UnloadedExtensionInfo, and the source is a Profile.
Devlin 2014/07/16 20:05:43 Is there a reason we need to include the type with
rpaquay 2014/07/16 21:16:45 The next CL will have a change to use "reason" fro
Devlin 2014/07/16 21:29:38 Hmm... I'm concerned about updating a deprecated n
rpaquay 2014/07/16 22:14:35 hmmkay, that can be done. Where do you suggest I m
Devlin 2014/07/16 22:17:30 I would actually say let's put it in its own file
rpaquay 2014/07/16 23:45:16 Done.
423 NOTIFICATION_EXTENSION_UNINSTALLED_DEPRECATED, 423 NOTIFICATION_EXTENSION_UNINSTALLED_DEPRECATED,
424 424
425 // Sent when an extension uninstall is not allowed because the extension is 425 // Sent when an extension uninstall is not allowed because the extension is
426 // not user manageable. The details are an Extension, and the source is a 426 // not user manageable. The details are an Extension, and the source is a
427 // Profile. 427 // Profile.
428 NOTIFICATION_EXTENSION_UNINSTALL_NOT_ALLOWED, 428 NOTIFICATION_EXTENSION_UNINSTALL_NOT_ALLOWED,
429 429
430 // DEPRECATED: Use ExtensionRegistry::AddObserver instead. 430 // DEPRECATED: Use ExtensionRegistry::AddObserver instead.
431 // 431 //
432 // Sent when an extension is unloaded. This happens when an extension is 432 // Sent when an extension is unloaded. This happens when an extension is
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 // Note:- 920 // Note:-
921 // Currently only Content and Chrome define and use notifications. 921 // Currently only Content and Chrome define and use notifications.
922 // Custom notifications not belonging to Content and Chrome should start 922 // Custom notifications not belonging to Content and Chrome should start
923 // from here. 923 // from here.
924 NOTIFICATION_CHROME_END, 924 NOTIFICATION_CHROME_END,
925 }; 925 };
926 926
927 } // namespace chrome 927 } // namespace chrome
928 928
929 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ 929 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698