| 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 | |
| 296 // Sent before a Profile is destroyed. This notification is sent both for | 290 // Sent before a Profile is destroyed. This notification is sent both for |
| 297 // normal and OTR profiles. | 291 // normal and OTR profiles. |
| 298 // The details are none and the source is a Profile*. | 292 // The details are none and the source is a Profile*. |
| 299 NOTIFICATION_PROFILE_DESTROYED, | 293 NOTIFICATION_PROFILE_DESTROYED, |
| 300 | 294 |
| 301 // Sent after the URLRequestContextGetter for a Profile has been initialized. | 295 // Sent after the URLRequestContextGetter for a Profile has been initialized. |
| 302 // The details are none and the source is a Profile*. | 296 // The details are none and the source is a Profile*. |
| 303 NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED, | 297 NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED, |
| 304 | 298 |
| 305 // TopSites ---------------------------------------------------------------- | 299 // TopSites ---------------------------------------------------------------- |
| (...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 928 // Note:- | 922 // Note:- |
| 929 // Currently only Content and Chrome define and use notifications. | 923 // Currently only Content and Chrome define and use notifications. |
| 930 // Custom notifications not belonging to Content and Chrome should start | 924 // Custom notifications not belonging to Content and Chrome should start |
| 931 // from here. | 925 // from here. |
| 932 NOTIFICATION_CHROME_END, | 926 NOTIFICATION_CHROME_END, |
| 933 }; | 927 }; |
| 934 | 928 |
| 935 } // namespace chrome | 929 } // namespace chrome |
| 936 | 930 |
| 937 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 931 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |