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

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: Created 6 years, 3 months 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 #include "extensions/browser/notification_types.h" 9 #include "extensions/browser/notification_types.h"
10 10
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 222
223 // This is sent when an authentication request has been dismissed without 223 // This is sent when an authentication request has been dismissed without
224 // supplying credentials (either by the user or by an automation service). 224 // supplying credentials (either by the user or by an automation service).
225 // The source is the Source<NavigationController> for the tab in which the 225 // The source is the Source<NavigationController> for the tab in which the
226 // prompt was shown. Details are a LoginNotificationDetails which provide 226 // prompt was shown. Details are a LoginNotificationDetails which provide
227 // the LoginHandler that should be cancelled. 227 // the LoginHandler that should be cancelled.
228 NOTIFICATION_AUTH_CANCELLED, 228 NOTIFICATION_AUTH_CANCELLED,
229 229
230 // History ----------------------------------------------------------------- 230 // History -----------------------------------------------------------------
231 231
232 // Sent when a history service has finished loading. The source is the
233 // profile that the history service belongs to, and the details is the
234 // HistoryService.
235 NOTIFICATION_HISTORY_LOADED,
236
237 // Sent when a URL has been added or modified. This is used by the in-memory 232 // 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 233 // URL database and the InMemoryURLIndex (both used by autocomplete) to track
239 // changes to the main history system. 234 // changes to the main history system.
240 // 235 //
241 // The source is the profile owning the history service that changed, and 236 // The source is the profile owning the history service that changed, and
242 // the details is history::URLsModifiedDetails that lists the modified or 237 // the details is history::URLsModifiedDetails that lists the modified or
243 // added URLs. 238 // added URLs.
244 NOTIFICATION_HISTORY_URLS_MODIFIED, 239 NOTIFICATION_HISTORY_URLS_MODIFIED,
245 240
246 // Sent when the user visits a URL. 241 // Sent when the user visits a URL.
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 // Note:- 700 // Note:-
706 // Currently only Content and Chrome define and use notifications. 701 // Currently only Content and Chrome define and use notifications.
707 // Custom notifications not belonging to Content and Chrome should start 702 // Custom notifications not belonging to Content and Chrome should start
708 // from here. 703 // from here.
709 NOTIFICATION_CHROME_END, 704 NOTIFICATION_CHROME_END,
710 }; 705 };
711 706
712 } // namespace chrome 707 } // namespace chrome
713 708
714 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ 709 #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