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

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

Issue 468005: Improve reporting of subprocess crashes.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 // available. The source will be the RenderProcessHost that corresponds to 350 // available. The source will be the RenderProcessHost that corresponds to
351 // the process. 351 // the process.
352 RENDERER_PROCESS_CREATED, 352 RENDERER_PROCESS_CREATED,
353 353
354 // Indicates that a RenderProcessHost is destructing. The source will be the 354 // Indicates that a RenderProcessHost is destructing. The source will be the
355 // RenderProcessHost that corresponds to the process. 355 // RenderProcessHost that corresponds to the process.
356 RENDERER_PROCESS_TERMINATED, 356 RENDERER_PROCESS_TERMINATED,
357 357
358 // Indicates that a render process was closed (meaning it exited, but the 358 // Indicates that a render process was closed (meaning it exited, but the
359 // RenderProcessHost might be reused). The source will be the corresponding 359 // RenderProcessHost might be reused). The source will be the corresponding
360 // RenderProcessHost. The details will be a bool which is true if the 360 // RenderProcessHost. The details will be a RendererClosedDetails struct.
361 // process crashed. This may get sent along with 361 // This may get sent along with RENDERER_PROCESS_TERMINATED.
362 // RENDERER_PROCESS_TERMINATED.
363 RENDERER_PROCESS_CLOSED, 362 RENDERER_PROCESS_CLOSED,
364 363
365 // Indicates that a render process has become unresponsive for a period of 364 // Indicates that a render process has become unresponsive for a period of
366 // time. The source will be the RenderWidgetHost that corresponds to the 365 // time. The source will be the RenderWidgetHost that corresponds to the
367 // hung view, and no details are expected. 366 // hung view, and no details are expected.
368 RENDERER_PROCESS_HANG, 367 RENDERER_PROCESS_HANG,
369 368
370 // This is sent to notify that the RenderViewHost displayed in a 369 // This is sent to notify that the RenderViewHost displayed in a
371 // TabContents has changed. Source is the TabContents for which the change 370 // TabContents has changed. Source is the TabContents for which the change
372 // happened, details is the previous RenderViewHost (can be NULL when the 371 // happened, details is the previous RenderViewHost (can be NULL when the
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 }; 795 };
797 796
798 inline bool operator==(NotificationType::Type a, NotificationType b) { 797 inline bool operator==(NotificationType::Type a, NotificationType b) {
799 return a == b.value; 798 return a == b.value;
800 } 799 }
801 inline bool operator!=(NotificationType::Type a, NotificationType b) { 800 inline bool operator!=(NotificationType::Type a, NotificationType b) {
802 return a != b.value; 801 return a != b.value;
803 } 802 }
804 803
805 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 804 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698