| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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. |
| 11 // | 11 // |
| (...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 800 | 800 |
| 801 // Printing ---------------------------------------------------------------- | 801 // Printing ---------------------------------------------------------------- |
| 802 | 802 |
| 803 // Notification from PrintJob that an event occured. It can be that a page | 803 // Notification from PrintJob that an event occured. It can be that a page |
| 804 // finished printing or that the print job failed. Details is | 804 // finished printing or that the print job failed. Details is |
| 805 // PrintJob::EventDetails. | 805 // PrintJob::EventDetails. |
| 806 PRINT_JOB_EVENT, | 806 PRINT_JOB_EVENT, |
| 807 | 807 |
| 808 // Shutdown ---------------------------------------------------------------- | 808 // Shutdown ---------------------------------------------------------------- |
| 809 | 809 |
| 810 // Sent on the browser IO thread when an URLRequestContext is released by | 810 // Sent on the browser IO thread when an net::URLRequestContext is released |
| 811 // its owning Profile. The source is a pointer to the URLRequestContext. | 811 // by its owning Profile. The source is a pointer to the |
| 812 // net::URLRequestContext. |
| 812 URL_REQUEST_CONTEXT_RELEASED, | 813 URL_REQUEST_CONTEXT_RELEASED, |
| 813 | 814 |
| 814 // Sent when WM_ENDSESSION has been received, after the browsers have been | 815 // Sent when WM_ENDSESSION has been received, after the browsers have been |
| 815 // closed but before browser process has been shutdown. The source/details | 816 // closed but before browser process has been shutdown. The source/details |
| 816 // are all source and no details. | 817 // are all source and no details. |
| 817 SESSION_END, | 818 SESSION_END, |
| 818 | 819 |
| 819 // Personalization --------------------------------------------------------- | 820 // Personalization --------------------------------------------------------- |
| 820 | 821 |
| 821 PERSONALIZATION, | 822 PERSONALIZATION, |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1332 }; | 1333 }; |
| 1333 | 1334 |
| 1334 inline bool operator==(NotificationType::Type a, NotificationType b) { | 1335 inline bool operator==(NotificationType::Type a, NotificationType b) { |
| 1335 return a == b.value; | 1336 return a == b.value; |
| 1336 } | 1337 } |
| 1337 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 1338 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
| 1338 return a != b.value; | 1339 return a != b.value; |
| 1339 } | 1340 } |
| 1340 | 1341 |
| 1341 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 1342 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |