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 #include "extensions/browser/notification_types.h" | 9 #include "extensions/browser/notification_types.h" |
10 | 10 |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 // Download Notifications -------------------------------------------------- | 448 // Download Notifications -------------------------------------------------- |
449 | 449 |
450 // Sent when a download is initiated. It is possible that the download will | 450 // Sent when a download is initiated. It is possible that the download will |
451 // not actually begin due to the DownloadRequestLimiter cancelling it | 451 // not actually begin due to the DownloadRequestLimiter cancelling it |
452 // prematurely. | 452 // prematurely. |
453 // The source is the corresponding RenderViewHost. There are no details. | 453 // The source is the corresponding RenderViewHost. There are no details. |
454 NOTIFICATION_DOWNLOAD_INITIATED, | 454 NOTIFICATION_DOWNLOAD_INITIATED, |
455 | 455 |
456 // Misc -------------------------------------------------------------------- | 456 // Misc -------------------------------------------------------------------- |
457 | 457 |
458 // Sent when PerformanceMonitor has finished all the initial steps of data | |
459 // collection and has begun passively observing. The source is the | |
460 // PerformanceMonitor*. No details are expected. | |
461 NOTIFICATION_PERFORMANCE_MONITOR_INITIALIZED, | |
462 | |
463 #if defined(OS_CHROMEOS) | 458 #if defined(OS_CHROMEOS) |
464 // Sent when a chromium os user logs in. | 459 // Sent when a chromium os user logs in. |
465 // The details are a chromeos::User object. | 460 // The details are a chromeos::User object. |
466 NOTIFICATION_LOGIN_USER_CHANGED, | 461 NOTIFICATION_LOGIN_USER_CHANGED, |
467 | 462 |
468 // Sent immediately after the logged-in user's profile is ready. | 463 // Sent immediately after the logged-in user's profile is ready. |
469 // The details are a Profile object. | 464 // The details are a Profile object. |
470 NOTIFICATION_LOGIN_USER_PROFILE_PREPARED, | 465 NOTIFICATION_LOGIN_USER_PROFILE_PREPARED, |
471 | 466 |
472 // Sent when the chromium session of a particular user is started. | 467 // Sent when the chromium session of a particular user is started. |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 // Note:- | 687 // Note:- |
693 // Currently only Content and Chrome define and use notifications. | 688 // Currently only Content and Chrome define and use notifications. |
694 // Custom notifications not belonging to Content and Chrome should start | 689 // Custom notifications not belonging to Content and Chrome should start |
695 // from here. | 690 // from here. |
696 NOTIFICATION_CHROME_END, | 691 NOTIFICATION_CHROME_END, |
697 }; | 692 }; |
698 | 693 |
699 } // namespace chrome | 694 } // namespace chrome |
700 | 695 |
701 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 696 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |