| OLD | NEW | 
|    1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2009 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_NOTIFICATION_TYPE_H_ |    5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_ | 
|    6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ |    6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ | 
|    7  |    7  | 
|    8 // This file describes various types used to describe and filter notifications |    8 // This file describes various types used to describe and filter notifications | 
|    9 // that pass through the NotificationService. |    9 // that pass through the NotificationService. | 
|   10 // |   10 // | 
| (...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  511     // |  511     // | 
|  512     // The source is the profile owning the history service that changed, and |  512     // The source is the profile owning the history service that changed, and | 
|  513     // the details is history::URLsDeletedDetails that lists the deleted URLs. |  513     // the details is history::URLsDeletedDetails that lists the deleted URLs. | 
|  514     HISTORY_URLS_DELETED, |  514     HISTORY_URLS_DELETED, | 
|  515  |  515  | 
|  516     // Sent by history when the favicon of a URL changes.  The source is the |  516     // Sent by history when the favicon of a URL changes.  The source is the | 
|  517     // profile, and the details is history::FavIconChangeDetails (see |  517     // profile, and the details is history::FavIconChangeDetails (see | 
|  518     // history_notifications.h). |  518     // history_notifications.h). | 
|  519     FAVICON_CHANGED, |  519     FAVICON_CHANGED, | 
|  520  |  520  | 
|  521     // Sent by history if the history database is too new.  The active browser |  521     // Sent by history if there is a problem reading the profile.  The details | 
|  522     // window should notify the user of this error. |  522     // is an int that's one of the message IDs in the string table.  The active | 
|  523     HISTORY_TOO_NEW, |  523     // browser window should notify the user of this error. | 
 |  524     PROFILE_ERROR, | 
|  524  |  525  | 
|  525     // Thumbnails--------------------------------------------------------------- |  526     // Thumbnails--------------------------------------------------------------- | 
|  526  |  527  | 
|  527     // Set by ThumbnailStore when it was finished loading data from disk on |  528     // Set by ThumbnailStore when it was finished loading data from disk on | 
|  528     // startup. |  529     // startup. | 
|  529     THUMBNAIL_STORE_READY, |  530     THUMBNAIL_STORE_READY, | 
|  530  |  531  | 
|  531     // Bookmarks --------------------------------------------------------------- |  532     // Bookmarks --------------------------------------------------------------- | 
|  532  |  533  | 
|  533     // Sent when the starred state of a URL changes. A URL is starred if there |  534     // Sent when the starred state of a URL changes. A URL is starred if there | 
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  772 }; |  773 }; | 
|  773  |  774  | 
|  774 inline bool operator==(NotificationType::Type a, NotificationType b) { |  775 inline bool operator==(NotificationType::Type a, NotificationType b) { | 
|  775   return a == b.value; |  776   return a == b.value; | 
|  776 } |  777 } | 
|  777 inline bool operator!=(NotificationType::Type a, NotificationType b) { |  778 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 
|  778   return a != b.value; |  779   return a != b.value; | 
|  779 } |  780 } | 
|  780  |  781  | 
|  781 #endif  // CHROME_COMMON_NOTIFICATION_TYPE_H_ |  782 #endif  // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 
| OLD | NEW |