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

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

Issue 5172009: This adds some plumbing for propagating the reason for a renderer's death (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final review changes Created 10 years 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/zygote_main_linux.cc ('k') | chrome/common/render_messages_internal.h » ('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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #pragma once 7 #pragma once
8 8
9 // This file describes various types used to describe and filter notifications 9 // This file describes various types used to describe and filter notifications
10 // that pass through the NotificationService. 10 // that pass through the NotificationService.
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 // ephemeral task; register for AllSources() to receive this notification. 542 // ephemeral task; register for AllSources() to receive this notification.
543 // The details are in a Details<ChildProcessInfo>. 543 // The details are in a Details<ChildProcessInfo>.
544 CHILD_PROCESS_HOST_CONNECTED, 544 CHILD_PROCESS_HOST_CONNECTED,
545 545
546 // This message is sent after a ChildProcessHost is disconnected from the 546 // This message is sent after a ChildProcessHost is disconnected from the
547 // child process. There is no usable source, since it is sent from an 547 // child process. There is no usable source, since it is sent from an
548 // ephemeral task; register for AllSources() to receive this notification. 548 // ephemeral task; register for AllSources() to receive this notification.
549 // The details are in a Details<ChildProcessInfo>. 549 // The details are in a Details<ChildProcessInfo>.
550 CHILD_PROCESS_HOST_DISCONNECTED, 550 CHILD_PROCESS_HOST_DISCONNECTED,
551 551
552 // This message is sent when a child process disappears unexpectedly. 552 // This message is sent when a child process disappears
553 // There is no usable source, since it is sent from an ephemeral task; 553 // unexpectedly as a result of a crash. There is no usable
554 // register for AllSources() to receive this notification. The details are 554 // source, since it is sent from an ephemeral task; register for
555 // in a Details<ChildProcessInfo>. 555 // AllSources() to receive this notification. The details are in
556 // a Details<ChildProcessInfo>.
556 CHILD_PROCESS_CRASHED, 557 CHILD_PROCESS_CRASHED,
557 558
559 // This message is sent when a child process disappears
560 // unexpectedly as a result of a termination signal. There is no
561 // usable source, since it is sent from an ephemeral task;
562 // register for AllSources() to receive this notification. The
563 // details are in a Details<ChildProcessInfo>.
564 CHILD_PROCESS_WAS_KILLED,
565
558 // This message indicates that an instance of a particular child was 566 // This message indicates that an instance of a particular child was
559 // created in a page. (If one page contains several regions rendered by 567 // created in a page. (If one page contains several regions rendered by
560 // the same child, this notification will occur once for each region 568 // the same child, this notification will occur once for each region
561 // during the page load.) 569 // during the page load.)
562 // 570 //
563 // There is no usable source, since it is sent from an ephemeral task; 571 // There is no usable source, since it is sent from an ephemeral task;
564 // register for AllSources() to receive this notification. The details are 572 // register for AllSources() to receive this notification. The details are
565 // in a Details<ChildProcessInfo>. 573 // in a Details<ChildProcessInfo>.
566 CHILD_INSTANCE_CREATED, 574 CHILD_INSTANCE_CREATED,
567 575
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
1327 }; 1335 };
1328 1336
1329 inline bool operator==(NotificationType::Type a, NotificationType b) { 1337 inline bool operator==(NotificationType::Type a, NotificationType b) {
1330 return a == b.value; 1338 return a == b.value;
1331 } 1339 }
1332 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1340 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1333 return a != b.value; 1341 return a != b.value;
1334 } 1342 }
1335 1343
1336 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 1344 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/browser/zygote_main_linux.cc ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698