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

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

Issue 3386014: This adds some plumbing for propagating the status and error code of a (Closed)
Patch Set: Fixed Mac code to handle both SEGV and BUS Created 10 years, 3 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
« 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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 // ephemeral task; register for AllSources() to receive this notification. 526 // ephemeral task; register for AllSources() to receive this notification.
527 // The details are in a Details<ChildProcessInfo>. 527 // The details are in a Details<ChildProcessInfo>.
528 CHILD_PROCESS_HOST_CONNECTED, 528 CHILD_PROCESS_HOST_CONNECTED,
529 529
530 // This message is sent after a ChildProcessHost is disconnected from the 530 // This message is sent after a ChildProcessHost is disconnected from the
531 // child process. There is no usable source, since it is sent from an 531 // child process. There is no usable source, since it is sent from an
532 // ephemeral task; register for AllSources() to receive this notification. 532 // ephemeral task; register for AllSources() to receive this notification.
533 // The details are in a Details<ChildProcessInfo>. 533 // The details are in a Details<ChildProcessInfo>.
534 CHILD_PROCESS_HOST_DISCONNECTED, 534 CHILD_PROCESS_HOST_DISCONNECTED,
535 535
536 // This message is sent when a child process disappears unexpectedly. 536 // This message is sent when a child process disappears
537 // There is no usable source, since it is sent from an ephemeral task; 537 // unexpectedly as a result of a crash. There is no usable
538 // register for AllSources() to receive this notification. The details are 538 // source, since it is sent from an ephemeral task; register for
539 // in a Details<ChildProcessInfo>. 539 // AllSources() to receive this notification. The details are in
540 // a Details<ChildProcessInfo>.
540 CHILD_PROCESS_CRASHED, 541 CHILD_PROCESS_CRASHED,
541 542
543 // This message is sent when a child process disappears
544 // unexpectedly as a result of a termination signal. There is no
545 // usable source, since it is sent from an ephemeral task;
546 // register for AllSources() to receive this notification. The
547 // details are in a Details<ChildProcessInfo>.
548 CHILD_PROCESS_WAS_KILLED,
549
542 // This message indicates that an instance of a particular child was 550 // This message indicates that an instance of a particular child was
543 // created in a page. (If one page contains several regions rendered by 551 // created in a page. (If one page contains several regions rendered by
544 // the same child, this notification will occur once for each region 552 // the same child, this notification will occur once for each region
545 // during the page load.) 553 // during the page load.)
546 // 554 //
547 // There is no usable source, since it is sent from an ephemeral task; 555 // There is no usable source, since it is sent from an ephemeral task;
548 // register for AllSources() to receive this notification. The details are 556 // register for AllSources() to receive this notification. The details are
549 // in a Details<ChildProcessInfo>. 557 // in a Details<ChildProcessInfo>.
550 CHILD_INSTANCE_CREATED, 558 CHILD_INSTANCE_CREATED,
551 559
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 }; 1213 };
1206 1214
1207 inline bool operator==(NotificationType::Type a, NotificationType b) { 1215 inline bool operator==(NotificationType::Type a, NotificationType b) {
1208 return a == b.value; 1216 return a == b.value;
1209 } 1217 }
1210 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1218 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1211 return a != b.value; 1219 return a != b.value;
1212 } 1220 }
1213 1221
1214 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 1222 #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