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

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

Issue 21443002: Add NOTIFICATION_EXTENSION_REMOVED for Extensions removed from ExtensionService. (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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_disabled_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 NOTIFICATION_EXTENSION_UNINSTALL_NOT_ALLOWED, 525 NOTIFICATION_EXTENSION_UNINSTALL_NOT_ALLOWED,
526 526
527 // Sent when an extension is unloaded. This happens when an extension is 527 // Sent when an extension is unloaded. This happens when an extension is
528 // uninstalled or disabled. The details are an UnloadedExtensionInfo, and 528 // uninstalled or disabled. The details are an UnloadedExtensionInfo, and
529 // the source is a Profile. 529 // the source is a Profile.
530 // 530 //
531 // Note that when this notification is sent, ExtensionService has already 531 // Note that when this notification is sent, ExtensionService has already
532 // removed the extension from its internal state. 532 // removed the extension from its internal state.
533 NOTIFICATION_EXTENSION_UNLOADED, 533 NOTIFICATION_EXTENSION_UNLOADED,
534 534
535 // Sent when an Extension object is removed from ExtensionService. This
536 // can happen when an extension is uninstalled, upgraded, or blacklisted,
537 // including all cases when the Extension is deleted. The details are an
538 // Extension, and the source is a Profile.
539 NOTIFICATION_EXTENSION_REMOVED,
540
535 // Sent after a new ExtensionHost is created. The details are 541 // Sent after a new ExtensionHost is created. The details are
536 // an ExtensionHost* and the source is a Profile*. 542 // an ExtensionHost* and the source is a Profile*.
537 NOTIFICATION_EXTENSION_HOST_CREATED, 543 NOTIFICATION_EXTENSION_HOST_CREATED,
538 544
539 // Sent before an ExtensionHost is destroyed. The details are 545 // Sent before an ExtensionHost is destroyed. The details are
540 // an ExtensionHost* and the source is a Profile*. 546 // an ExtensionHost* and the source is a Profile*.
541 NOTIFICATION_EXTENSION_HOST_DESTROYED, 547 NOTIFICATION_EXTENSION_HOST_DESTROYED,
542 548
543 // Sent by an ExtensionHost when it has finished its initial page load, 549 // Sent by an ExtensionHost when it has finished its initial page load,
544 // including any external resources. 550 // including any external resources.
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
1236 // Note:- 1242 // Note:-
1237 // Currently only Content and Chrome define and use notifications. 1243 // Currently only Content and Chrome define and use notifications.
1238 // Custom notifications not belonging to Content and Chrome should start 1244 // Custom notifications not belonging to Content and Chrome should start
1239 // from here. 1245 // from here.
1240 NOTIFICATION_CHROME_END, 1246 NOTIFICATION_CHROME_END,
1241 }; 1247 };
1242 1248
1243 } // namespace chrome 1249 } // namespace chrome
1244 1250
1245 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ 1251 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_disabled_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698