OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 #if defined(ENABLE_EXTENSIONS) | 10 #if defined(ENABLE_EXTENSIONS) |
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 // The source is a Source<net::HttpNetworkSession>. Details is a | 653 // The source is a Source<net::HttpNetworkSession>. Details is a |
654 // (std::pair<net::SSLCertRequestInfo*, net::X509Certificate*>). | 654 // (std::pair<net::SSLCertRequestInfo*, net::X509Certificate*>). |
655 NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED, | 655 NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED, |
656 | 656 |
657 // Session Restore -------------------------------------------------------- | 657 // Session Restore -------------------------------------------------------- |
658 | 658 |
659 // Sent when synchronous (startup) session restore completes. No details or | 659 // Sent when synchronous (startup) session restore completes. No details or |
660 // source. | 660 // source. |
661 NOTIFICATION_SESSION_RESTORE_DONE, | 661 NOTIFICATION_SESSION_RESTORE_DONE, |
662 | 662 |
| 663 // Sent when the SSL interstitial delay timer fires. |
| 664 // The source is the web contents, no details. |
| 665 // Used in only tests. |
| 666 NOTIFICATION_SSL_INTERSTITIAL_TIMER_FIRED, |
| 667 |
663 // Note:- | 668 // Note:- |
664 // Currently only Content and Chrome define and use notifications. | 669 // Currently only Content and Chrome define and use notifications. |
665 // Custom notifications not belonging to Content and Chrome should start | 670 // Custom notifications not belonging to Content and Chrome should start |
666 // from here. | 671 // from here. |
667 NOTIFICATION_CHROME_END, | 672 NOTIFICATION_CHROME_END, |
668 }; | 673 }; |
669 | 674 |
670 } // namespace chrome | 675 } // namespace chrome |
671 | 676 |
672 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 677 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |