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

Side by Side Diff: chrome/common/notification_type.h

Issue 126289: Graceful handling of extension process crashes (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 6 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 | « chrome/browser/task_manager_resource_providers.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_COMMON_NOTIFICATION_TYPE_H_ 5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_
6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_
7 7
8 // This file describes various types used to describe and filter notifications 8 // This file describes various types used to describe and filter notifications
9 // that pass through the NotificationService. 9 // that pass through the NotificationService.
10 // 10 //
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 EXTENSION_UNLOADED, 580 EXTENSION_UNLOADED,
581 581
582 // Sent after a new ExtensionHost is created. The details are 582 // Sent after a new ExtensionHost is created. The details are
583 // an ExtensionHost*. 583 // an ExtensionHost*.
584 EXTENSION_HOST_CREATED, 584 EXTENSION_HOST_CREATED,
585 585
586 // Sent before an ExtensionHost is destroyed. The details are 586 // Sent before an ExtensionHost is destroyed. The details are
587 // an ExtensionHost*. 587 // an ExtensionHost*.
588 EXTENSION_HOST_DESTROYED, 588 EXTENSION_HOST_DESTROYED,
589 589
590 // Sent when extension render process crashes. The details are
591 // an ExtensionHost*.
592 EXTENSION_PROCESS_CRASHED,
593
594 // Sent after an extension render process is restarted after a crash
595 // and is fully functional. The details are an ExtensionHost*.
596 EXTENSION_PROCESS_RESTORED,
597
590 // Debugging --------------------------------------------------------------- 598 // Debugging ---------------------------------------------------------------
591 599
592 // Sent from ~RenderViewHost. The source is the RenderViewHost. 600 // Sent from ~RenderViewHost. The source is the RenderViewHost.
593 RENDER_VIEW_HOST_DELETED, 601 RENDER_VIEW_HOST_DELETED,
594 602
595 // Count (must be last) ---------------------------------------------------- 603 // Count (must be last) ----------------------------------------------------
596 // Used to determine the number of notification types. Not valid as 604 // Used to determine the number of notification types. Not valid as
597 // a type parameter when registering for or posting notifications. 605 // a type parameter when registering for or posting notifications.
598 NOTIFICATION_TYPE_COUNT 606 NOTIFICATION_TYPE_COUNT
599 }; 607 };
(...skipping 11 matching lines...) Expand all
611 }; 619 };
612 620
613 inline bool operator==(NotificationType::Type a, NotificationType b) { 621 inline bool operator==(NotificationType::Type a, NotificationType b) {
614 return a == b.value; 622 return a == b.value;
615 } 623 }
616 inline bool operator!=(NotificationType::Type a, NotificationType b) { 624 inline bool operator!=(NotificationType::Type a, NotificationType b) {
617 return a != b.value; 625 return a != b.value;
618 } 626 }
619 627
620 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 628 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/browser/task_manager_resource_providers.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698