Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1078)

Side by Side Diff: chrome/browser/chrome_notification_types.h

Issue 573553004: Eliminate NOTIFICATION_HISTORY_LOADED notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up of code in ResourcePrefetchPredictor Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 // This is sent when an authentication request has been dismissed without 224 // This is sent when an authentication request has been dismissed without
225 // supplying credentials (either by the user or by an automation service). 225 // supplying credentials (either by the user or by an automation service).
226 // The source is the Source<NavigationController> for the tab in which the 226 // The source is the Source<NavigationController> for the tab in which the
227 // prompt was shown. Details are a LoginNotificationDetails which provide 227 // prompt was shown. Details are a LoginNotificationDetails which provide
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
234 // profile that the history service belongs to, and the details is the
235 // HistoryService.
236 NOTIFICATION_HISTORY_LOADED,
237
238 // Sent when a URL has been added or modified. This is used by the in-memory 233 // 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 234 // URL database and the InMemoryURLIndex (both used by autocomplete) to track
240 // changes to the main history system. 235 // changes to the main history system.
241 // 236 //
242 // The source is the profile owning the history service that changed, and 237 // The source is the profile owning the history service that changed, and
243 // the details is history::URLsModifiedDetails that lists the modified or 238 // the details is history::URLsModifiedDetails that lists the modified or
244 // added URLs. 239 // added URLs.
245 NOTIFICATION_HISTORY_URLS_MODIFIED, 240 NOTIFICATION_HISTORY_URLS_MODIFIED,
246 241
247 // Sent when one or more URLs are deleted. 242 // Sent when one or more URLs are deleted.
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 // Note:- 672 // Note:-
678 // Currently only Content and Chrome define and use notifications. 673 // Currently only Content and Chrome define and use notifications.
679 // Custom notifications not belonging to Content and Chrome should start 674 // Custom notifications not belonging to Content and Chrome should start
680 // from here. 675 // from here.
681 NOTIFICATION_CHROME_END, 676 NOTIFICATION_CHROME_END,
682 }; 677 };
683 678
684 } // namespace chrome 679 } // namespace chrome
685 680
686 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ 681 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/history/history_service.h » ('j') | chrome/browser/history/history_service.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698