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 | |
328 // TopSites ---------------------------------------------------------------- | 321 // TopSites ---------------------------------------------------------------- |
329 | 322 |
330 // Sent by TopSites when it finishes loading. The source is the profile the | 323 // Sent by TopSites when it finishes loading. The source is the profile the |
331 // details the TopSites. | 324 // details the TopSites. |
332 NOTIFICATION_TOP_SITES_LOADED, | 325 NOTIFICATION_TOP_SITES_LOADED, |
333 | 326 |
334 // Sent by TopSites when it has finished updating its most visited URLs | 327 // Sent by TopSites when it has finished updating its most visited URLs |
335 // cache after querying the history service. The source is the TopSites and | 328 // cache after querying the history service. The source is the TopSites and |
336 // the details a CancelableRequestProvider::Handle from the history service | 329 // the details a CancelableRequestProvider::Handle from the history service |
337 // query. | 330 // query. |
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1259 // Currently only Content and Chrome define and use notifications. | 1252 // Currently only Content and Chrome define and use notifications. |
1260 // Custom notifications not belonging to Content and Chrome should start | 1253 // Custom notifications not belonging to Content and Chrome should start |
1261 // from here. | 1254 // from here. |
1262 NOTIFICATION_CHROME_END, | 1255 NOTIFICATION_CHROME_END, |
1263 }; | 1256 }; |
1264 | 1257 |
1265 } // namespace chrome | 1258 } // namespace chrome |
1266 | 1259 |
1267 | 1260 |
1268 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1261 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |