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