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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 | 247 |
248 // Sent before a Profile is destroyed. This notification is sent both for | 248 // Sent before a Profile is destroyed. This notification is sent both for |
249 // normal and OTR profiles. | 249 // normal and OTR profiles. |
250 // The details are none and the source is a Profile*. | 250 // The details are none and the source is a Profile*. |
251 NOTIFICATION_PROFILE_DESTROYED, | 251 NOTIFICATION_PROFILE_DESTROYED, |
252 | 252 |
253 // Sent after the URLRequestContextGetter for a Profile has been initialized. | 253 // Sent after the URLRequestContextGetter for a Profile has been initialized. |
254 // The details are none and the source is a Profile*. | 254 // The details are none and the source is a Profile*. |
255 NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED, | 255 NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED, |
256 | 256 |
257 // Task Manager ------------------------------------------------------------ | |
258 | |
259 // Sent when a renderer process is notified of new v8 heap statistics. The | |
260 // source is the ID of the renderer process, and the details are a | |
261 // V8HeapStatsDetails object. | |
262 NOTIFICATION_RENDERER_V8_HEAP_STATS_COMPUTED, | |
263 | |
264 // Non-history storage services -------------------------------------------- | 257 // Non-history storage services -------------------------------------------- |
265 | 258 |
266 // The state of a web resource has been changed. A resource may have been | 259 // The state of a web resource has been changed. A resource may have been |
267 // added, removed, or altered. Source is WebResourceService, and the | 260 // added, removed, or altered. Source is WebResourceService, and the |
268 // details are NoDetails. | 261 // details are NoDetails. |
269 NOTIFICATION_PROMO_RESOURCE_STATE_CHANGED, | 262 NOTIFICATION_PROMO_RESOURCE_STATE_CHANGED, |
270 | 263 |
271 // A safe browsing database update completed. Source is the | 264 // A safe browsing database update completed. Source is the |
272 // SafeBrowsingService and the details are a bool indicating whether the | 265 // SafeBrowsingService and the details are a bool indicating whether the |
273 // update was successful. | 266 // update was successful. |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 // Note:- | 599 // Note:- |
607 // Currently only Content and Chrome define and use notifications. | 600 // Currently only Content and Chrome define and use notifications. |
608 // Custom notifications not belonging to Content and Chrome should start | 601 // Custom notifications not belonging to Content and Chrome should start |
609 // from here. | 602 // from here. |
610 NOTIFICATION_CHROME_END, | 603 NOTIFICATION_CHROME_END, |
611 }; | 604 }; |
612 | 605 |
613 } // namespace chrome | 606 } // namespace chrome |
614 | 607 |
615 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 608 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |