OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
7 | 7 |
8 #include "content/public/browser/notification_types.h" | 8 #include "content/public/browser/notification_types.h" |
9 | 9 |
10 namespace chrome { | 10 namespace chrome { |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 | 311 |
312 // Sent before a Profile is destroyed. This notification is sent both for | 312 // Sent before a Profile is destroyed. This notification is sent both for |
313 // normal and OTR profiles. | 313 // normal and OTR profiles. |
314 // The details are none and the source is a Profile*. | 314 // The details are none and the source is a Profile*. |
315 NOTIFICATION_PROFILE_DESTROYED, | 315 NOTIFICATION_PROFILE_DESTROYED, |
316 | 316 |
317 // Sent after the URLRequestContextGetter for a Profile has been initialized. | 317 // Sent after the URLRequestContextGetter for a Profile has been initialized. |
318 // The details are none and the source is a Profile*. | 318 // The details are none and the source is a Profile*. |
319 NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED, | 319 NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED, |
320 | 320 |
| 321 // HistoryQuickProvider and InMemoryURLIndex ------------------------------- |
| 322 |
| 323 // Sent when an update operation to the InMemoryURLCacheDatabase fails |
| 324 // indicating that the database is probably corrupt. The source is the |
| 325 // instance of the InMemoryURLCacheDatabase. Details is not used. |
| 326 NOTIFICATION_IN_MEMORY_URL_CACHE_DATABASE_FAILURE, |
| 327 |
321 // TopSites ---------------------------------------------------------------- | 328 // TopSites ---------------------------------------------------------------- |
322 | 329 |
323 // Sent by TopSites when it finishes loading. The source is the profile the | 330 // Sent by TopSites when it finishes loading. The source is the profile the |
324 // details the TopSites. | 331 // details the TopSites. |
325 NOTIFICATION_TOP_SITES_LOADED, | 332 NOTIFICATION_TOP_SITES_LOADED, |
326 | 333 |
327 // Sent by TopSites when it has finished updating its most visited URLs | 334 // Sent by TopSites when it has finished updating its most visited URLs |
328 // cache after querying the history service. The source is the TopSites and | 335 // cache after querying the history service. The source is the TopSites and |
329 // the details a CancelableRequestProvider::Handle from the history service | 336 // the details a CancelableRequestProvider::Handle from the history service |
330 // query. | 337 // query. |
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1237 // Currently only Content and Chrome define and use notifications. | 1244 // Currently only Content and Chrome define and use notifications. |
1238 // Custom notifications not belonging to Content and Chrome should start | 1245 // Custom notifications not belonging to Content and Chrome should start |
1239 // from here. | 1246 // from here. |
1240 NOTIFICATION_CHROME_END, | 1247 NOTIFICATION_CHROME_END, |
1241 }; | 1248 }; |
1242 | 1249 |
1243 } // namespace chrome | 1250 } // namespace chrome |
1244 | 1251 |
1245 | 1252 |
1246 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1253 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |