| 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 "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
| 10 | 10 |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 | 286 |
| 287 // Sent after a Profile has been created. This notification is sent both for | 287 // Sent after a Profile has been created. This notification is sent both for |
| 288 // normal and OTR profiles. | 288 // normal and OTR profiles. |
| 289 // The details are none and the source is the new profile. | 289 // The details are none and the source is the new profile. |
| 290 NOTIFICATION_PROFILE_CREATED, | 290 NOTIFICATION_PROFILE_CREATED, |
| 291 | 291 |
| 292 // Sent after a Profile has been added to ProfileManager. | 292 // Sent after a Profile has been added to ProfileManager. |
| 293 // The details are none and the source is the new profile. | 293 // The details are none and the source is the new profile. |
| 294 NOTIFICATION_PROFILE_ADDED, | 294 NOTIFICATION_PROFILE_ADDED, |
| 295 | 295 |
| 296 // Sent early in the process of destroying a Profile, at the time a user | |
| 297 // initiates the deletion of a profile versus the much later time when the | |
| 298 // profile object is actually destroyed (use NOTIFICATION_PROFILE_DESTROYED). | |
| 299 // The details are none and the source is a Profile*. | |
| 300 NOTIFICATION_PROFILE_DESTRUCTION_STARTED, | |
| 301 | |
| 302 // Sent before a Profile is destroyed. This notification is sent both for | 296 // Sent before a Profile is destroyed. This notification is sent both for |
| 303 // normal and OTR profiles. | 297 // normal and OTR profiles. |
| 304 // The details are none and the source is a Profile*. | 298 // The details are none and the source is a Profile*. |
| 305 NOTIFICATION_PROFILE_DESTROYED, | 299 NOTIFICATION_PROFILE_DESTROYED, |
| 306 | 300 |
| 307 // Sent after the URLRequestContextGetter for a Profile has been initialized. | 301 // Sent after the URLRequestContextGetter for a Profile has been initialized. |
| 308 // The details are none and the source is a Profile*. | 302 // The details are none and the source is a Profile*. |
| 309 NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED, | 303 NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED, |
| 310 | 304 |
| 311 // TopSites ---------------------------------------------------------------- | 305 // TopSites ---------------------------------------------------------------- |
| (...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 946 // Note:- | 940 // Note:- |
| 947 // Currently only Content and Chrome define and use notifications. | 941 // Currently only Content and Chrome define and use notifications. |
| 948 // Custom notifications not belonging to Content and Chrome should start | 942 // Custom notifications not belonging to Content and Chrome should start |
| 949 // from here. | 943 // from here. |
| 950 NOTIFICATION_CHROME_END, | 944 NOTIFICATION_CHROME_END, |
| 951 }; | 945 }; |
| 952 | 946 |
| 953 } // namespace chrome | 947 } // namespace chrome |
| 954 | 948 |
| 955 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 949 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |