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 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 // The source is a Source<net::HttpNetworkSession>. Details is a | 658 // The source is a Source<net::HttpNetworkSession>. Details is a |
659 // (std::pair<net::SSLCertRequestInfo*, net::X509Certificate*>). | 659 // (std::pair<net::SSLCertRequestInfo*, net::X509Certificate*>). |
660 NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED, | 660 NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED, |
661 | 661 |
662 // Session Restore -------------------------------------------------------- | 662 // Session Restore -------------------------------------------------------- |
663 | 663 |
664 // Sent when synchronous (startup) session restore completes. No details or | 664 // Sent when synchronous (startup) session restore completes. No details or |
665 // source. | 665 // source. |
666 NOTIFICATION_SESSION_RESTORE_DONE, | 666 NOTIFICATION_SESSION_RESTORE_DONE, |
667 | 667 |
| 668 // Sent when the SSL interstitial delay timer fires. |
| 669 // The source is the web contents, no details. |
| 670 // Used in only tests. |
| 671 NOTIFICATION_SSL_INTERSTITIAL_TIMER_FIRED, |
| 672 |
668 // Note:- | 673 // Note:- |
669 // Currently only Content and Chrome define and use notifications. | 674 // Currently only Content and Chrome define and use notifications. |
670 // Custom notifications not belonging to Content and Chrome should start | 675 // Custom notifications not belonging to Content and Chrome should start |
671 // from here. | 676 // from here. |
672 NOTIFICATION_CHROME_END, | 677 NOTIFICATION_CHROME_END, |
673 }; | 678 }; |
674 | 679 |
675 } // namespace chrome | 680 } // namespace chrome |
676 | 681 |
677 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 682 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |