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/features/features.h" | 9 #include "extensions/features/features.h" |
10 | 10 |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 NOTIFICATION_PRINT_JOB_RELEASED, | 266 NOTIFICATION_PRINT_JOB_RELEASED, |
267 | 267 |
268 // Upgrade notifications --------------------------------------------------- | 268 // Upgrade notifications --------------------------------------------------- |
269 | 269 |
270 // Sent when Chrome believes an update has been installed and available for | 270 // Sent when Chrome believes an update has been installed and available for |
271 // long enough with the user shutting down to let it take effect. See | 271 // long enough with the user shutting down to let it take effect. See |
272 // upgrade_detector.cc for details on how long it waits. No details are | 272 // upgrade_detector.cc for details on how long it waits. No details are |
273 // expected. | 273 // expected. |
274 NOTIFICATION_UPGRADE_RECOMMENDED, | 274 NOTIFICATION_UPGRADE_RECOMMENDED, |
275 | 275 |
| 276 // Sent when Chrome believes an update is available, but downloading requires |
| 277 // user's permission as current connection is cellular. |
| 278 NOTIFICATION_UPDATE_OVER_CELLULAR_AVAILABLE, |
| 279 |
276 // Sent when a critical update has been installed. No details are expected. | 280 // Sent when a critical update has been installed. No details are expected. |
277 NOTIFICATION_CRITICAL_UPGRADE_INSTALLED, | 281 NOTIFICATION_CRITICAL_UPGRADE_INSTALLED, |
278 | 282 |
279 // Sent when the current install is outdated. No details are expected. | 283 // Sent when the current install is outdated. No details are expected. |
280 NOTIFICATION_OUTDATED_INSTALL, | 284 NOTIFICATION_OUTDATED_INSTALL, |
281 | 285 |
282 // Sent when the current install is outdated and auto-update (AU) is disabled. | 286 // Sent when the current install is outdated and auto-update (AU) is disabled. |
283 // No details are expected. | 287 // No details are expected. |
284 NOTIFICATION_OUTDATED_INSTALL_NO_AU, | 288 NOTIFICATION_OUTDATED_INSTALL_NO_AU, |
285 | 289 |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 // Note:- | 467 // Note:- |
464 // Currently only Content and Chrome define and use notifications. | 468 // Currently only Content and Chrome define and use notifications. |
465 // Custom notifications not belonging to Content and Chrome should start | 469 // Custom notifications not belonging to Content and Chrome should start |
466 // from here. | 470 // from here. |
467 NOTIFICATION_CHROME_END, | 471 NOTIFICATION_CHROME_END, |
468 }; | 472 }; |
469 | 473 |
470 } // namespace chrome | 474 } // namespace chrome |
471 | 475 |
472 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 476 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |