| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 // the LoginHandler that should be cancelled. | 228 // the LoginHandler that should be cancelled. |
| 229 NOTIFICATION_AUTH_CANCELLED, | 229 NOTIFICATION_AUTH_CANCELLED, |
| 230 | 230 |
| 231 // History ----------------------------------------------------------------- | 231 // History ----------------------------------------------------------------- |
| 232 | 232 |
| 233 // Sent when a history service has finished loading. The source is the | 233 // Sent when a history service has finished loading. The source is the |
| 234 // profile that the history service belongs to, and the details is the | 234 // profile that the history service belongs to, and the details is the |
| 235 // HistoryService. | 235 // HistoryService. |
| 236 NOTIFICATION_HISTORY_LOADED, | 236 NOTIFICATION_HISTORY_LOADED, |
| 237 | 237 |
| 238 // Sent when a URL has been added or modified. This is used by the in-memory | |
| 239 // URL database and the InMemoryURLIndex (both used by autocomplete) to track | |
| 240 // changes to the main history system. | |
| 241 // | |
| 242 // The source is the profile owning the history service that changed, and | |
| 243 // the details is history::URLsModifiedDetails that lists the modified or | |
| 244 // added URLs. | |
| 245 NOTIFICATION_HISTORY_URLS_MODIFIED, | |
| 246 | |
| 247 // Sent when one or more URLs are deleted. | 238 // Sent when one or more URLs are deleted. |
| 248 // | 239 // |
| 249 // The source is the profile owning the history service that changed, and | 240 // The source is the profile owning the history service that changed, and |
| 250 // the details is history::URLsDeletedDetails that lists the deleted URLs. | 241 // the details is history::URLsDeletedDetails that lists the deleted URLs. |
| 251 NOTIFICATION_HISTORY_URLS_DELETED, | 242 NOTIFICATION_HISTORY_URLS_DELETED, |
| 252 | 243 |
| 253 // Sent when a keyword search term is updated. The source is the Profile and | 244 // Sent when a keyword search term is updated. The source is the Profile and |
| 254 // the details is history::KeywordSearchUpdatedDetails. | 245 // the details is history::KeywordSearchUpdatedDetails. |
| 255 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED, | 246 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED, |
| 256 | 247 |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 677 // Note:- | 668 // Note:- |
| 678 // Currently only Content and Chrome define and use notifications. | 669 // Currently only Content and Chrome define and use notifications. |
| 679 // Custom notifications not belonging to Content and Chrome should start | 670 // Custom notifications not belonging to Content and Chrome should start |
| 680 // from here. | 671 // from here. |
| 681 NOTIFICATION_CHROME_END, | 672 NOTIFICATION_CHROME_END, |
| 682 }; | 673 }; |
| 683 | 674 |
| 684 } // namespace chrome | 675 } // namespace chrome |
| 685 | 676 |
| 686 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 677 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |