| 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 "extensions/browser/notification_types.h" | 9 #include "extensions/browser/notification_types.h" |
| 10 | 10 |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 | 236 |
| 237 // Sent when a URL has been added or modified. This is used by the in-memory | 237 // Sent when a URL has been added or modified. This is used by the in-memory |
| 238 // URL database and the InMemoryURLIndex (both used by autocomplete) to track | 238 // URL database and the InMemoryURLIndex (both used by autocomplete) to track |
| 239 // changes to the main history system. | 239 // changes to the main history system. |
| 240 // | 240 // |
| 241 // The source is the profile owning the history service that changed, and | 241 // The source is the profile owning the history service that changed, and |
| 242 // the details is history::URLsModifiedDetails that lists the modified or | 242 // the details is history::URLsModifiedDetails that lists the modified or |
| 243 // added URLs. | 243 // added URLs. |
| 244 NOTIFICATION_HISTORY_URLS_MODIFIED, | 244 NOTIFICATION_HISTORY_URLS_MODIFIED, |
| 245 | 245 |
| 246 // Sent when the user visits a URL. | |
| 247 // | |
| 248 // The source is the profile owning the history service that changed, and | |
| 249 // the details is history::URLVisitedDetails. | |
| 250 NOTIFICATION_HISTORY_URL_VISITED, | |
| 251 | |
| 252 // Sent when one or more URLs are deleted. | 246 // Sent when one or more URLs are deleted. |
| 253 // | 247 // |
| 254 // The source is the profile owning the history service that changed, and | 248 // The source is the profile owning the history service that changed, and |
| 255 // the details is history::URLsDeletedDetails that lists the deleted URLs. | 249 // the details is history::URLsDeletedDetails that lists the deleted URLs. |
| 256 NOTIFICATION_HISTORY_URLS_DELETED, | 250 NOTIFICATION_HISTORY_URLS_DELETED, |
| 257 | 251 |
| 258 // Sent when a keyword search term is updated. The source is the Profile and | 252 // Sent when a keyword search term is updated. The source is the Profile and |
| 259 // the details is history::KeywordSearchUpdatedDetails. | 253 // the details is history::KeywordSearchUpdatedDetails. |
| 260 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED, | 254 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED, |
| 261 | 255 |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 682 // Note:- | 676 // Note:- |
| 683 // Currently only Content and Chrome define and use notifications. | 677 // Currently only Content and Chrome define and use notifications. |
| 684 // Custom notifications not belonging to Content and Chrome should start | 678 // Custom notifications not belonging to Content and Chrome should start |
| 685 // from here. | 679 // from here. |
| 686 NOTIFICATION_CHROME_END, | 680 NOTIFICATION_CHROME_END, |
| 687 }; | 681 }; |
| 688 | 682 |
| 689 } // namespace chrome | 683 } // namespace chrome |
| 690 | 684 |
| 691 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 685 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |