| OLD | NEW |
| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 // load occurred. Details in the form of a ProvisionalLoadDetails object | 113 // load occurred. Details in the form of a ProvisionalLoadDetails object |
| 114 // are provided. | 114 // are provided. |
| 115 FAIL_PROVISIONAL_LOAD_WITH_ERROR, | 115 FAIL_PROVISIONAL_LOAD_WITH_ERROR, |
| 116 | 116 |
| 117 // A response has been received for a resource request. The source will be | 117 // A response has been received for a resource request. The source will be |
| 118 // a Source<NavigationController> corresponding to the tab in which the | 118 // a Source<NavigationController> corresponding to the tab in which the |
| 119 // request was issued. Details in the form of a ResourceRequestDetails | 119 // request was issued. Details in the form of a ResourceRequestDetails |
| 120 // object are provided. | 120 // object are provided. |
| 121 RESOURCE_RESPONSE_STARTED, | 121 RESOURCE_RESPONSE_STARTED, |
| 122 | 122 |
| 123 // The response to a resource request has completed. The source will be a | |
| 124 // Source<NavigationController> corresponding to the tab in which the | |
| 125 // request was issued. Details in the form of a ResourceRequestDetails | |
| 126 // object are provided. | |
| 127 RESOURCE_RESPONSE_COMPLETED, | |
| 128 | |
| 129 // A redirect was received while requesting a resource. The source will be | 123 // A redirect was received while requesting a resource. The source will be |
| 130 // a Source<NavigationController> corresponding to the tab in which the | 124 // a Source<NavigationController> corresponding to the tab in which the |
| 131 // request was issued. Details in the form of a ResourceRedirectDetails | 125 // request was issued. Details in the form of a ResourceRedirectDetails |
| 132 // are provided. | 126 // are provided. |
| 133 RESOURCE_RECEIVED_REDIRECT, | 127 RESOURCE_RECEIVED_REDIRECT, |
| 134 | 128 |
| 135 // SSL --------------------------------------------------------------------- | 129 // SSL --------------------------------------------------------------------- |
| 136 | 130 |
| 137 // Updating the SSL security indicators (the lock icon and such) proceeds | 131 // Updating the SSL security indicators (the lock icon and such) proceeds |
| 138 // in two phases: | 132 // in two phases: |
| (...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 }; | 620 }; |
| 627 | 621 |
| 628 inline bool operator==(NotificationType::Type a, NotificationType b) { | 622 inline bool operator==(NotificationType::Type a, NotificationType b) { |
| 629 return a == b.value; | 623 return a == b.value; |
| 630 } | 624 } |
| 631 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 625 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
| 632 return a != b.value; | 626 return a != b.value; |
| 633 } | 627 } |
| 634 | 628 |
| 635 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 629 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |