| 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 // source is the ID of the renderer process, and the details are a | 319 // source is the ID of the renderer process, and the details are a |
| 320 // V8HeapStatsDetails object. | 320 // V8HeapStatsDetails object. |
| 321 NOTIFICATION_RENDERER_V8_HEAP_STATS_COMPUTED, | 321 NOTIFICATION_RENDERER_V8_HEAP_STATS_COMPUTED, |
| 322 | 322 |
| 323 // Non-history storage services -------------------------------------------- | 323 // Non-history storage services -------------------------------------------- |
| 324 | 324 |
| 325 // Sent when a TemplateURL is removed from the model. The source is the | 325 // Sent when a TemplateURL is removed from the model. The source is the |
| 326 // Profile, and the details the id of the TemplateURL being removed. | 326 // Profile, and the details the id of the TemplateURL being removed. |
| 327 NOTIFICATION_TEMPLATE_URL_REMOVED, | 327 NOTIFICATION_TEMPLATE_URL_REMOVED, |
| 328 | 328 |
| 329 // Sent when the prefs relating to the default search engine have changed due | |
| 330 // to policy. Source and details are unused. | |
| 331 NOTIFICATION_DEFAULT_SEARCH_POLICY_CHANGED, | |
| 332 | |
| 333 // The state of a web resource has been changed. A resource may have been | 329 // The state of a web resource has been changed. A resource may have been |
| 334 // added, removed, or altered. Source is WebResourceService, and the | 330 // added, removed, or altered. Source is WebResourceService, and the |
| 335 // details are NoDetails. | 331 // details are NoDetails. |
| 336 NOTIFICATION_PROMO_RESOURCE_STATE_CHANGED, | 332 NOTIFICATION_PROMO_RESOURCE_STATE_CHANGED, |
| 337 | 333 |
| 338 // A safe browsing database update completed. Source is the | 334 // A safe browsing database update completed. Source is the |
| 339 // SafeBrowsingService and the details are a bool indicating whether the | 335 // SafeBrowsingService and the details are a bool indicating whether the |
| 340 // update was successful. | 336 // update was successful. |
| 341 NOTIFICATION_SAFE_BROWSING_UPDATE_COMPLETE, | 337 NOTIFICATION_SAFE_BROWSING_UPDATE_COMPLETE, |
| 342 | 338 |
| (...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 940 // Note:- | 936 // Note:- |
| 941 // Currently only Content and Chrome define and use notifications. | 937 // Currently only Content and Chrome define and use notifications. |
| 942 // Custom notifications not belonging to Content and Chrome should start | 938 // Custom notifications not belonging to Content and Chrome should start |
| 943 // from here. | 939 // from here. |
| 944 NOTIFICATION_CHROME_END, | 940 NOTIFICATION_CHROME_END, |
| 945 }; | 941 }; |
| 946 | 942 |
| 947 } // namespace chrome | 943 } // namespace chrome |
| 948 | 944 |
| 949 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 945 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |