| 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 | 9 |
| 10 #if defined(ENABLE_EXTENSIONS) | 10 #if defined(ENABLE_EXTENSIONS) |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 // normal and OTR profiles. | 244 // normal and OTR profiles. |
| 245 // The details are none and the source is a Profile*. | 245 // The details are none and the source is a Profile*. |
| 246 NOTIFICATION_PROFILE_DESTROYED, | 246 NOTIFICATION_PROFILE_DESTROYED, |
| 247 | 247 |
| 248 // Sent after the URLRequestContextGetter for a Profile has been initialized. | 248 // Sent after the URLRequestContextGetter for a Profile has been initialized. |
| 249 // The details are none and the source is a Profile*. | 249 // The details are none and the source is a Profile*. |
| 250 NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED, | 250 NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED, |
| 251 | 251 |
| 252 // Non-history storage services -------------------------------------------- | 252 // Non-history storage services -------------------------------------------- |
| 253 | 253 |
| 254 // The state of a web resource has been changed. A resource may have been | |
| 255 // added, removed, or altered. Source is WebResourceService, and the | |
| 256 // details are NoDetails. | |
| 257 NOTIFICATION_PROMO_RESOURCE_STATE_CHANGED, | |
| 258 | |
| 259 // A safe browsing database update completed. Source is the | 254 // A safe browsing database update completed. Source is the |
| 260 // SafeBrowsingService and the details are a bool indicating whether the | 255 // SafeBrowsingService and the details are a bool indicating whether the |
| 261 // update was successful. | 256 // update was successful. |
| 262 NOTIFICATION_SAFE_BROWSING_UPDATE_COMPLETE, | 257 NOTIFICATION_SAFE_BROWSING_UPDATE_COMPLETE, |
| 263 | 258 |
| 264 // Autocomplete ------------------------------------------------------------ | 259 // Autocomplete ------------------------------------------------------------ |
| 265 | 260 |
| 266 // Sent by the autocomplete controller when done. The source is the | 261 // Sent by the autocomplete controller when done. The source is the |
| 267 // AutocompleteController, the details not used. | 262 // AutocompleteController, the details not used. |
| 268 NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY, | 263 NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY, |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 540 // Note:- | 535 // Note:- |
| 541 // Currently only Content and Chrome define and use notifications. | 536 // Currently only Content and Chrome define and use notifications. |
| 542 // Custom notifications not belonging to Content and Chrome should start | 537 // Custom notifications not belonging to Content and Chrome should start |
| 543 // from here. | 538 // from here. |
| 544 NOTIFICATION_CHROME_END, | 539 NOTIFICATION_CHROME_END, |
| 545 }; | 540 }; |
| 546 | 541 |
| 547 } // namespace chrome | 542 } // namespace chrome |
| 548 | 543 |
| 549 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 544 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |