Chromium Code Reviews| 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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 424 // that should be given authentication. | 424 // that should be given authentication. |
| 425 AUTH_NEEDED, | 425 AUTH_NEEDED, |
| 426 | 426 |
| 427 // This is sent when authentication credentials have been supplied (either | 427 // This is sent when authentication credentials have been supplied (either |
| 428 // by the user or by an automation service), but before we've actually | 428 // by the user or by an automation service), but before we've actually |
| 429 // received another response from the server. The source is the | 429 // received another response from the server. The source is the |
| 430 // Source<NavigationController> for the tab in which the prompt was shown. | 430 // Source<NavigationController> for the tab in which the prompt was shown. |
| 431 // No details are expected. | 431 // No details are expected. |
| 432 AUTH_SUPPLIED, | 432 AUTH_SUPPLIED, |
| 433 | 433 |
| 434 // Downloads --------------------------------------------------------------- | |
|
Paul Godavari
2009/07/31 22:11:26
"Saved Pages" instead?
| |
| 435 | |
| 436 // Sent when a SavePackage finishes successfully. The source is the | |
| 437 // SavePackage, and Details are a GURL containing address of downloaded | |
| 438 // page. | |
| 439 SAVE_PACKAGE_SUCCESSFULLY_FINISHED, | |
| 440 | |
| 434 // History ----------------------------------------------------------------- | 441 // History ----------------------------------------------------------------- |
| 435 | 442 |
| 436 // Sent when a history service is created on the main thread. This is sent | 443 // Sent when a history service is created on the main thread. This is sent |
| 437 // after history is created, but before it has finished loading. Use | 444 // after history is created, but before it has finished loading. Use |
| 438 // HISTORY_LOADED is you need to know when loading has completed. | 445 // HISTORY_LOADED is you need to know when loading has completed. |
| 439 // The source is the profile that the history service belongs to, and the | 446 // The source is the profile that the history service belongs to, and the |
| 440 // details is the pointer to the newly created HistoryService object. | 447 // details is the pointer to the newly created HistoryService object. |
| 441 HISTORY_CREATED, | 448 HISTORY_CREATED, |
| 442 | 449 |
| 443 // Sent when a history service has finished loading. The source is the | 450 // Sent when a history service has finished loading. The source is the |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 638 }; | 645 }; |
| 639 | 646 |
| 640 inline bool operator==(NotificationType::Type a, NotificationType b) { | 647 inline bool operator==(NotificationType::Type a, NotificationType b) { |
| 641 return a == b.value; | 648 return a == b.value; |
| 642 } | 649 } |
| 643 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 650 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
| 644 return a != b.value; | 651 return a != b.value; |
| 645 } | 652 } |
| 646 | 653 |
| 647 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 654 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |