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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 | 280 |
281 // Sent after a Profile has been created. This notification is sent both for | 281 // Sent after a Profile has been created. This notification is sent both for |
282 // normal and OTR profiles. | 282 // normal and OTR profiles. |
283 // The details are none and the source is the new profile. | 283 // The details are none and the source is the new profile. |
284 NOTIFICATION_PROFILE_CREATED, | 284 NOTIFICATION_PROFILE_CREATED, |
285 | 285 |
286 // Sent after a Profile has been added to ProfileManager. | 286 // Sent after a Profile has been added to ProfileManager. |
287 // The details are none and the source is the new profile. | 287 // The details are none and the source is the new profile. |
288 NOTIFICATION_PROFILE_ADDED, | 288 NOTIFICATION_PROFILE_ADDED, |
289 | 289 |
| 290 // Sent early in the process of destroying a Profile, at the time a user |
| 291 // initiates the deletion of a profile versus the much later time when the |
| 292 // profile object is actually destroyed (use NOTIFICATION_PROFILE_DESTROYED). |
| 293 // The details are none and the source is a Profile*. |
| 294 NOTIFICATION_PROFILE_DESTRUCTION_STARTED, |
| 295 |
290 // 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 |
291 // normal and OTR profiles. | 297 // normal and OTR profiles. |
292 // The details are none and the source is a Profile*. | 298 // The details are none and the source is a Profile*. |
293 NOTIFICATION_PROFILE_DESTROYED, | 299 NOTIFICATION_PROFILE_DESTROYED, |
294 | 300 |
295 // Sent after the URLRequestContextGetter for a Profile has been initialized. | 301 // Sent after the URLRequestContextGetter for a Profile has been initialized. |
296 // The details are none and the source is a Profile*. | 302 // The details are none and the source is a Profile*. |
297 NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED, | 303 NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED, |
298 | 304 |
299 // TopSites ---------------------------------------------------------------- | 305 // TopSites ---------------------------------------------------------------- |
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
922 // Note:- | 928 // Note:- |
923 // Currently only Content and Chrome define and use notifications. | 929 // Currently only Content and Chrome define and use notifications. |
924 // Custom notifications not belonging to Content and Chrome should start | 930 // Custom notifications not belonging to Content and Chrome should start |
925 // from here. | 931 // from here. |
926 NOTIFICATION_CHROME_END, | 932 NOTIFICATION_CHROME_END, |
927 }; | 933 }; |
928 | 934 |
929 } // namespace chrome | 935 } // namespace chrome |
930 | 936 |
931 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 937 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |