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

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

Issue 22799016: Kill NOTIFICATION_EXTENSION_REMOVED (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 NOTIFICATION_EXTENSION_UNINSTALL_NOT_ALLOWED, 476 NOTIFICATION_EXTENSION_UNINSTALL_NOT_ALLOWED,
477 477
478 // Sent when an extension is unloaded. This happens when an extension is 478 // Sent when an extension is unloaded. This happens when an extension is
479 // uninstalled or disabled. The details are an UnloadedExtensionInfo, and 479 // uninstalled or disabled. The details are an UnloadedExtensionInfo, and
480 // the source is a Profile. 480 // the source is a Profile.
481 // 481 //
482 // Note that when this notification is sent, ExtensionService has already 482 // Note that when this notification is sent, ExtensionService has already
483 // removed the extension from its internal state. 483 // removed the extension from its internal state.
484 NOTIFICATION_EXTENSION_UNLOADED, 484 NOTIFICATION_EXTENSION_UNLOADED,
485 485
486 // Sent when an Extension object is removed from ExtensionService. This
487 // can happen when an extension is uninstalled, upgraded, or blacklisted,
488 // including all cases when the Extension is deleted. The details are an
489 // Extension, and the source is a Profile.
490 NOTIFICATION_EXTENSION_REMOVED,
491
492 // Sent after a new ExtensionHost is created. The details are 486 // Sent after a new ExtensionHost is created. The details are
493 // an ExtensionHost* and the source is a Profile*. 487 // an ExtensionHost* and the source is a Profile*.
494 NOTIFICATION_EXTENSION_HOST_CREATED, 488 NOTIFICATION_EXTENSION_HOST_CREATED,
495 489
496 // Sent before an ExtensionHost is destroyed. The details are 490 // Sent before an ExtensionHost is destroyed. The details are
497 // an ExtensionHost* and the source is a Profile*. 491 // an ExtensionHost* and the source is a Profile*.
498 NOTIFICATION_EXTENSION_HOST_DESTROYED, 492 NOTIFICATION_EXTENSION_HOST_DESTROYED,
499 493
500 // Sent by an ExtensionHost when it has finished its initial page load, 494 // Sent by an ExtensionHost when it has finished its initial page load,
501 // including any external resources. 495 // including any external resources.
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 // Note:- 1076 // Note:-
1083 // Currently only Content and Chrome define and use notifications. 1077 // Currently only Content and Chrome define and use notifications.
1084 // Custom notifications not belonging to Content and Chrome should start 1078 // Custom notifications not belonging to Content and Chrome should start
1085 // from here. 1079 // from here.
1086 NOTIFICATION_CHROME_END, 1080 NOTIFICATION_CHROME_END,
1087 }; 1081 };
1088 1082
1089 } // namespace chrome 1083 } // namespace chrome
1090 1084
1091 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ 1085 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_disabled_ui.cc » ('j') | chrome/browser/extensions/extension_disabled_ui.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698