Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / chrome_notification_types.h
blob9f0c138845643fe482e257c8b1e9b761396e4251
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
8 #include "build/build_config.h"
10 #if defined(ENABLE_EXTENSIONS)
11 #include "extensions/browser/notification_types.h"
12 #else
13 #include "content/public/browser/notification_types.h"
14 #endif
16 #if defined(ENABLE_EXTENSIONS)
17 #define PREVIOUS_END extensions::NOTIFICATION_EXTENSIONS_END
18 #else
19 #define PREVIOUS_END content::NOTIFICATION_CONTENT_END
20 #endif
22 namespace chrome {
24 // NotificationService &c. are deprecated (https://crbug.com/268984).
25 // Don't add any new notification types, and migrate existing uses of the
26 // notification types below to observers.
27 enum NotificationType {
28 NOTIFICATION_CHROME_START = PREVIOUS_END,
30 // Browser-window ----------------------------------------------------------
32 // This message is sent after a window has been opened. The source is a
33 // Source<Browser> containing the affected Browser. No details are
34 // expected.
35 NOTIFICATION_BROWSER_OPENED = NOTIFICATION_CHROME_START,
37 // This message is sent soon after BROWSER_OPENED, and indicates that
38 // the Browser's |window_| is now non-NULL. The source is a Source<Browser>
39 // containing the affected Browser. No details are expected.
40 NOTIFICATION_BROWSER_WINDOW_READY,
42 // This message is sent when a browser is closing. The source is a
43 // Source<Browser> containing the affected Browser. No details are expected.
44 // This is sent prior to BROWSER_CLOSED, and may be sent more than once for a
45 // particular browser.
46 NOTIFICATION_BROWSER_CLOSING,
48 // This message is sent after a window has been closed. The source is a
49 // Source<Browser> containing the affected Browser. No details are exptected.
50 NOTIFICATION_BROWSER_CLOSED,
52 // This message is sent when closing a browser has been cancelled, either by
53 // the user cancelling a beforeunload dialog, or IsClosingPermitted()
54 // disallowing closing. This notification implies that no BROWSER_CLOSING or
55 // BROWSER_CLOSED notification will be sent.
56 // The source is a Source<Browser> containing the affected browser. No details
57 // are expected.
58 NOTIFICATION_BROWSER_CLOSE_CANCELLED,
60 // Sent when the language (English, French...) for a page has been detected.
61 // The details Details<std::string> contain the ISO 639-1 language code and
62 // the source is Source<WebContents>.
63 NOTIFICATION_TAB_LANGUAGE_DETERMINED,
65 // Sent when a page has been translated. The source is the tab for that page
66 // (Source<WebContents>) and the details are the language the page was
67 // originally in and the language it was translated to
68 // (std::pair<std::string, std::string>).
69 NOTIFICATION_PAGE_TRANSLATED,
71 // The user has changed the browser theme. The source is a
72 // Source<ThemeService>. There are no details.
73 NOTIFICATION_BROWSER_THEME_CHANGED,
75 #if defined(USE_AURA)
76 // The user has changed the fling curve configuration.
77 // Source<GesturePrefsObserver>. There are no details.
78 NOTIFICATION_BROWSER_FLING_CURVE_PARAMETERS_CHANGED,
79 #endif // defined(USE_AURA)
81 // Sent when the renderer returns focus to the browser, as part of focus
82 // traversal. The source is the browser, there are no details.
83 NOTIFICATION_FOCUS_RETURNED_TO_BROWSER,
85 // A new tab is created from an existing tab to serve as a target of a
86 // navigation that is about to happen. The source will be a Source<Profile>
87 // corresponding to the profile in which the new tab will live. Details in
88 // the form of a RetargetingDetails object are provided.
89 NOTIFICATION_RETARGETING,
91 // Application-wide ----------------------------------------------------------
93 // This message is sent when the application is terminating (the last
94 // browser window has shutdown as part of an explicit user-initiated exit,
95 // or the user closed the last browser window on Windows/Linux and there are
96 // no BackgroundContents keeping the browser running). No source or details
97 // are passed.
98 NOTIFICATION_APP_TERMINATING,
100 #if defined(OS_MACOSX)
101 // This notification is sent when the app has no key window, such as when
102 // all windows are closed but the app is still active. No source or details
103 // are provided.
104 NOTIFICATION_NO_KEY_WINDOW,
105 #endif
107 // This is sent when the user has chosen to exit the app, but before any
108 // browsers have closed. This is sent if the user chooses to exit (via exit
109 // menu item or keyboard shortcut) or to restart the process (such as in flags
110 // page), not if Chrome exits by some other means (such as the user closing
111 // the last window). No source or details are passed.
113 // Note that receiving this notification does not necessarily mean the process
114 // will exit because the shutdown process can be cancelled by an unload
115 // handler. Use APP_TERMINATING for such needs.
116 NOTIFICATION_CLOSE_ALL_BROWSERS_REQUEST,
118 // This message is sent when a new InfoBar has been added to an
119 // InfoBarService. The source is a Source<InfoBarService> with a pointer to
120 // the InfoBarService the InfoBar was added to. The details is a
121 // Details<InfoBar::AddedDetails>.
122 NOTIFICATION_TAB_CONTENTS_INFOBAR_ADDED,
124 // This message is sent when an InfoBar is about to be removed from an
125 // InfoBarService. The source is a Source<InfoBarService> with a pointer to
126 // the InfoBarService the InfoBar was removed from. The details is a
127 // Details<InfoBar::RemovedDetails>.
128 NOTIFICATION_TAB_CONTENTS_INFOBAR_REMOVED,
130 #if defined(ENABLE_EXTENSIONS)
131 // This notification is sent when extensions::TabHelper::SetExtensionApp is
132 // invoked. The source is the extensions::TabHelper SetExtensionApp was
133 // invoked on.
134 NOTIFICATION_TAB_CONTENTS_APPLICATION_EXTENSION_CHANGED,
135 #endif
137 // Tabs --------------------------------------------------------------------
139 // Sent when a tab is added to a WebContentsDelegate. The source is the
140 // WebContentsDelegate and the details is the added WebContents.
141 NOTIFICATION_TAB_ADDED,
143 // This notification is sent after a tab has been appended to the tab_strip.
144 // The source is a Source<WebContents> of the tab being added. There
145 // are no details.
146 NOTIFICATION_TAB_PARENTED,
148 // This message is sent before a tab has been closed. The source is a
149 // Source<NavigationController> with a pointer to the controller for the
150 // closed tab. No details are expected.
152 // See also content::NOTIFICATION_WEB_CONTENTS_DESTROYED, which is sent when
153 // the WebContents containing the NavigationController is destroyed.
154 NOTIFICATION_TAB_CLOSING,
156 // Stuff inside the tabs ---------------------------------------------------
158 // This notification is sent when the result of a find-in-page search is
159 // available with the browser process. The source is a Source<WebContents>.
160 // Details encompass a FindNotificationDetail object that tells whether the
161 // match was found or not found.
162 NOTIFICATION_FIND_RESULT_AVAILABLE,
164 // BackgroundContents ------------------------------------------------------
166 // A new background contents was opened by script. The source is the parent
167 // profile and the details are BackgroundContentsOpenedDetails.
168 NOTIFICATION_BACKGROUND_CONTENTS_OPENED,
170 // The background contents navigated to a new location. The source is the
171 // parent Profile, and the details are the BackgroundContents that was
172 // navigated.
173 NOTIFICATION_BACKGROUND_CONTENTS_NAVIGATED,
175 // The background contents were closed by someone invoking window.close()
176 // or the parent application was uninstalled.
177 // The source is the parent profile, and the details are the
178 // BackgroundContents.
179 NOTIFICATION_BACKGROUND_CONTENTS_CLOSED,
181 // The background contents is being deleted. The source is the
182 // parent Profile, and the details are the BackgroundContents being deleted.
183 NOTIFICATION_BACKGROUND_CONTENTS_DELETED,
185 // The background contents has crashed. The source is the parent Profile,
186 // and the details are the BackgroundContents.
187 NOTIFICATION_BACKGROUND_CONTENTS_TERMINATED,
189 // The background contents associated with a hosted app has changed (either
190 // a new background contents has been created, or an existing background
191 // contents has closed). The source is the parent Profile, and the details
192 // are the BackgroundContentsService.
193 NOTIFICATION_BACKGROUND_CONTENTS_SERVICE_CHANGED,
195 // Chrome has entered/exited background mode. The source is the
196 // BackgroundModeManager and the details are a boolean value which is set to
197 // true if Chrome is now in background mode.
198 NOTIFICATION_BACKGROUND_MODE_CHANGED,
200 // This is sent when a login prompt is shown. The source is the
201 // Source<NavigationController> for the tab in which the prompt is shown.
202 // Details are a LoginNotificationDetails which provide the LoginHandler
203 // that should be given authentication.
204 NOTIFICATION_AUTH_NEEDED,
206 // This is sent when authentication credentials have been supplied (either
207 // by the user or by an automation service), but before we've actually
208 // received another response from the server. The source is the
209 // Source<NavigationController> for the tab in which the prompt was shown.
210 // Details are an AuthSuppliedLoginNotificationDetails which provide the
211 // LoginHandler that should be given authentication as well as the supplied
212 // username and password.
213 NOTIFICATION_AUTH_SUPPLIED,
215 // This is sent when an authentication request has been dismissed without
216 // supplying credentials (either by the user or by an automation service).
217 // The source is the Source<NavigationController> for the tab in which the
218 // prompt was shown. Details are a LoginNotificationDetails which provide
219 // the LoginHandler that should be cancelled.
220 NOTIFICATION_AUTH_CANCELLED,
222 // Profiles -----------------------------------------------------------------
224 // Sent after a Profile has been created. This notification is sent both for
225 // normal and OTR profiles.
226 // The details are none and the source is the new profile.
227 NOTIFICATION_PROFILE_CREATED,
229 // Sent after a Profile has been added to ProfileManager.
230 // The details are none and the source is the new profile.
231 NOTIFICATION_PROFILE_ADDED,
233 // Use KeyedServiceShutdownNotifier instead this notification type (you did
234 // read the comment at the top of the file, didn't you?).
235 // Sent early in the process of destroying a Profile, at the time a user
236 // initiates the deletion of a profile versus the much later time when the
237 // profile object is actually destroyed (use NOTIFICATION_PROFILE_DESTROYED).
238 // The details are none and the source is a Profile*.
239 NOTIFICATION_PROFILE_DESTRUCTION_STARTED,
241 // Use KeyedServiceShutdownNotifier instead this notification type (you did
242 // read the comment at the top of the file, didn't you?).
243 // Sent before a Profile is destroyed. This notification is sent both for
244 // normal and OTR profiles.
245 // The details are none and the source is a Profile*.
246 NOTIFICATION_PROFILE_DESTROYED,
248 // Sent after the URLRequestContextGetter for a Profile has been initialized.
249 // The details are none and the source is a Profile*.
250 NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED,
252 // Non-history storage services --------------------------------------------
254 // The state of a web resource has been changed. A resource may have been
255 // added, removed, or altered. Source is WebResourceService, and the
256 // details are NoDetails.
257 NOTIFICATION_PROMO_RESOURCE_STATE_CHANGED,
259 // A safe browsing database update completed. Source is the
260 // SafeBrowsingService and the details are a bool indicating whether the
261 // update was successful.
262 NOTIFICATION_SAFE_BROWSING_UPDATE_COMPLETE,
264 // Autocomplete ------------------------------------------------------------
266 // Sent by the autocomplete controller when done. The source is the
267 // AutocompleteController, the details not used.
268 NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY,
270 // This is sent from Instant when the omnibox focus state changes.
271 NOTIFICATION_OMNIBOX_FOCUS_CHANGED,
273 // Printing ----------------------------------------------------------------
275 // Notification from PrintJob that an event occurred. It can be that a page
276 // finished printing or that the print job failed. Details is
277 // PrintJob::EventDetails. Source is a PrintJob.
278 NOTIFICATION_PRINT_JOB_EVENT,
280 // Sent when a PrintJob has been released.
281 // Source is the WebContents that holds the print job.
282 NOTIFICATION_PRINT_JOB_RELEASED,
284 // Upgrade notifications ---------------------------------------------------
286 // Sent when Chrome believes an update has been installed and available for
287 // long enough with the user shutting down to let it take effect. See
288 // upgrade_detector.cc for details on how long it waits. No details are
289 // expected.
290 NOTIFICATION_UPGRADE_RECOMMENDED,
292 // Sent when a critical update has been installed. No details are expected.
293 NOTIFICATION_CRITICAL_UPGRADE_INSTALLED,
295 // Sent when the current install is outdated. No details are expected.
296 NOTIFICATION_OUTDATED_INSTALL,
298 // Sent when the current install is outdated and auto-update (AU) is disabled.
299 // No details are expected.
300 NOTIFICATION_OUTDATED_INSTALL_NO_AU,
302 // Software incompatibility notifications ----------------------------------
304 // Sent when Chrome has finished compiling the list of loaded modules (and
305 // other modules of interest). No details are expected.
306 NOTIFICATION_MODULE_LIST_ENUMERATED,
308 // Sent when Chrome is done scanning the module list and when the user has
309 // acknowledged the module incompatibility. No details are expected.
310 NOTIFICATION_MODULE_INCOMPATIBILITY_BADGE_CHANGE,
312 // Content Settings --------------------------------------------------------
314 // Sent when the collect cookies dialog is shown. The source is a
315 // TabSpecificContentSettings object, there are no details.
316 NOTIFICATION_COLLECTED_COOKIES_SHOWN,
318 // Sent when content settings change for a tab. The source is a
319 // content::WebContents object, the details are None.
320 NOTIFICATION_WEB_CONTENT_SETTINGS_CHANGED,
322 // Sync --------------------------------------------------------------------
324 // The sync service has finished the datatype configuration process. The
325 // source is the ProfileSyncService object of the Profile. There are no
326 // details.
327 NOTIFICATION_SYNC_CONFIGURE_DONE,
329 // A service is requesting a sync datatype refresh for the current profile.
330 // The details value is a const syncer::ModelTypeSet.
331 // If the payload map is empty, it should be treated as an invalidation for
332 // all enabled types. This is used by session sync.
333 NOTIFICATION_SYNC_REFRESH_LOCAL,
335 // The session service has been saved. This notification type is only sent
336 // if there were new SessionService commands to save, and not for no-op save
337 // operations.
338 NOTIFICATION_SESSION_SERVICE_SAVED,
340 // A foreign session has been updated. If a new tab page is open, the
341 // foreign session handler needs to update the new tab page's foreign
342 // session data.
343 NOTIFICATION_FOREIGN_SESSION_UPDATED,
345 // Foreign sessions has been disabled. New tabs should not display foreign
346 // session data.
347 NOTIFICATION_FOREIGN_SESSION_DISABLED,
349 // All tab metadata has been loaded from disk asynchronously.
350 // Sent on the UI thread.
351 // The source is the Profile. There are no details.
352 NOTIFICATION_SESSION_RESTORE_COMPLETE,
354 // Cookies -----------------------------------------------------------------
356 #if defined(ENABLE_EXTENSIONS)
357 // Sent when a cookie changes, for consumption by extensions. The source is a
358 // Profile object, the details are a ChromeCookieDetails object.
359 NOTIFICATION_COOKIE_CHANGED_FOR_EXTENSIONS,
360 #endif
362 // Download Notifications --------------------------------------------------
364 // Sent when a download is initiated. It is possible that the download will
365 // not actually begin due to the DownloadRequestLimiter cancelling it
366 // prematurely.
367 // The source is the corresponding RenderViewHost. There are no details.
368 NOTIFICATION_DOWNLOAD_INITIATED,
370 // Misc --------------------------------------------------------------------
372 #if defined(OS_CHROMEOS)
373 // Sent when a chromium os user logs in.
374 // The details are a chromeos::User object.
375 NOTIFICATION_LOGIN_USER_CHANGED,
377 // Sent immediately after the logged-in user's profile is ready.
378 // The details are a Profile object.
379 NOTIFICATION_LOGIN_USER_PROFILE_PREPARED,
381 // Sent when the chromium session of a particular user is started.
382 // If this is a new user on the machine this will not be sent until a profile
383 // picture has been selected, unlike NOTIFICATION_LOGIN_USER_CHANGED which is
384 // sent immediately after the user has logged in. This will be sent again if
385 // the browser crashes and restarts.
386 // The details are a chromeos::User object.
387 NOTIFICATION_SESSION_STARTED,
389 // Sent when user image is updated.
390 NOTIFICATION_LOGIN_USER_IMAGE_CHANGED,
392 // Sent by UserManager when a profile image download has been completed.
393 NOTIFICATION_PROFILE_IMAGE_UPDATED,
395 // Sent by UserManager when profile image download has failed or user has the
396 // default profile image or no profile image at all. No details are expected.
397 NOTIFICATION_PROFILE_IMAGE_UPDATE_FAILED,
399 // Sent when a network error message is displayed on the WebUI login screen.
400 // First paint event of this fires NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE.
401 NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN,
403 // Sent when the specific part of login/lock WebUI is considered to be
404 // visible. That moment is tracked as the first paint event after one of the:
405 // NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN
407 // Possible series of notifications:
408 // 1. Boot into fresh OOBE
409 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE
410 // 2. Boot into user pods list (normal boot). Same for lock screen.
411 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE
412 // 3. Boot into GAIA sign in UI (user pods display disabled or no users):
413 // if no network is connected or flaky network
414 // (NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN +
415 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE)
416 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE
417 // 4. Boot into retail mode
418 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE
419 // 5. Boot into kiosk mode
420 // NOTIFICATION_KIOSK_APP_LAUNCHED
421 NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE,
423 // Sent when proxy dialog is closed.
424 NOTIFICATION_LOGIN_PROXY_CHANGED,
426 // Send when kiosk auto-launch warning screen is visible.
427 NOTIFICATION_KIOSK_AUTOLAUNCH_WARNING_VISIBLE,
429 // Send when kiosk auto-launch warning screen had completed.
430 NOTIFICATION_KIOSK_AUTOLAUNCH_WARNING_COMPLETED,
432 // Send when enable consumer kiosk warning screen is visible.
433 NOTIFICATION_KIOSK_ENABLE_WARNING_VISIBLE,
435 // Send when consumer kiosk has been enabled.
436 NOTIFICATION_KIOSK_ENABLED,
438 // Send when enable consumer kiosk warning screen had completed.
439 NOTIFICATION_KIOSK_ENABLE_WARNING_COMPLETED,
441 // Sent when kiosk app list is loaded in UI.
442 NOTIFICATION_KIOSK_APPS_LOADED,
444 // Sent when a kiosk app is launched.
445 NOTIFICATION_KIOSK_APP_LAUNCHED,
447 // Sent when the user list has changed.
448 NOTIFICATION_USER_LIST_CHANGED,
450 // Sent when the screen lock state has changed. The source is
451 // ScreenLocker and the details is a bool specifing that the
452 // screen is locked. When details is a false, the source object
453 // is being deleted, so the receiver shouldn't use the screen locker
454 // object.
455 NOTIFICATION_SCREEN_LOCK_STATE_CHANGED,
457 // Sent by DeviceSettingsService to indicate that the ownership status
458 // changed. If you can, please use DeviceSettingsService::Observer instead.
459 // Other singleton-based services can't use that because Observer
460 // unregistration is impossible due to unpredictable deletion order.
461 NOTIFICATION_OWNERSHIP_STATUS_CHANGED,
462 #endif
464 #if defined(TOOLKIT_VIEWS)
465 // Sent when a bookmark's context menu is shown. Used to notify
466 // tests that the context menu has been created and shown.
467 NOTIFICATION_BOOKMARK_CONTEXT_MENU_SHOWN,
469 // Notification that the nested loop using during tab dragging has returned.
470 // Used for testing.
471 NOTIFICATION_TAB_DRAG_LOOP_DONE,
472 #endif
474 // Send when a context menu is shown. Used to notify tests that the context
475 // menu has been created and shown.
476 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_SHOWN,
478 // Sent when the Instant Controller determines whether an Instant tab supports
479 // the Instant API or not.
480 NOTIFICATION_INSTANT_TAB_SUPPORT_DETERMINED,
482 // Sent when the CaptivePortalService checks if we're behind a captive portal.
483 // The Source is the Profile the CaptivePortalService belongs to, and the
484 // Details are a Details<CaptivePortalService::CheckResults>.
485 NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT,
487 // Sent when the applications in the NTP app launcher have been reordered.
488 // The details, if not NoDetails, is the std::string ID of the extension that
489 // was moved.
490 NOTIFICATION_APP_LAUNCHER_REORDERED,
492 // Sent when an app is installed and an NTP has been shown. Source is the
493 // WebContents that was shown, and Details is the string ID of the extension
494 // which was installed.
495 NOTIFICATION_APP_INSTALLED_TO_NTP,
497 #if defined(USE_ASH)
498 // Sent when wallpaper show animation has finished.
499 NOTIFICATION_WALLPAPER_ANIMATION_FINISHED,
501 // Sent when the Ash session has started. In its current incantation this is
502 // generated when the metro app has connected to the browser IPC channel.
503 // Used only on Windows.
504 NOTIFICATION_ASH_SESSION_STARTED,
506 // Sent when the Ash session ended. Currently this means the metro app exited.
507 // Used only on Windows.
508 NOTIFICATION_ASH_SESSION_ENDED,
509 #endif
511 // Protocol Handler Registry -----------------------------------------------
512 // Sent when a ProtocolHandlerRegistry is changed. The source is the profile.
513 NOTIFICATION_PROTOCOL_HANDLER_REGISTRY_CHANGED,
515 // Sent when the browser enters or exits fullscreen mode.
516 NOTIFICATION_FULLSCREEN_CHANGED,
518 // Sent when the FullscreenController changes, confirms, or denies mouse lock.
519 // The source is the browser's FullscreenController, no details.
520 NOTIFICATION_MOUSE_LOCK_CHANGED,
522 // Sent by the PluginPrefs when there is a change of plugin enable/disable
523 // status. The source is the profile.
524 NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED,
526 // Panels Notifications. The Panels are small browser windows near the bottom
527 // of the screen.
528 // Sent when all nonblocking bounds animations are finished across panels.
529 // Used only in unit testing.
530 NOTIFICATION_PANEL_BOUNDS_ANIMATIONS_FINISHED,
532 // Sent when panel gains/loses focus.
533 // The source is the Panel, no details.
534 // Used only in unit testing.
535 NOTIFICATION_PANEL_CHANGED_ACTIVE_STATUS,
537 // Sent when panel is minimized/restored/shows title only etc.
538 // The source is the Panel, no details.
539 NOTIFICATION_PANEL_CHANGED_EXPANSION_STATE,
541 // Sent when panel app icon is loaded.
542 // Used only in unit testing.
543 NOTIFICATION_PANEL_APP_ICON_LOADED,
545 // Sent when panel collection get updated.
546 // The source is the PanelCollection, no details.
547 // Used only in coordination with notification balloons.
548 NOTIFICATION_PANEL_COLLECTION_UPDATED,
550 // Sent when panel is closed.
551 // The source is the Panel, no details.
552 NOTIFICATION_PANEL_CLOSED,
554 // Sent when a global error has changed and the error UI should update it
555 // self. The source is a Source<Profile> containing the profile for the
556 // error. The detail is a GlobalError object that has changed or NULL if
557 // all error UIs should update.
558 NOTIFICATION_GLOBAL_ERRORS_CHANGED,
560 // The user accepted or dismissed a SSL client authentication request.
561 // The source is a Source<net::HttpNetworkSession>. Details is a
562 // (std::pair<net::SSLCertRequestInfo*, net::X509Certificate*>).
563 NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED,
565 // Note:-
566 // Currently only Content and Chrome define and use notifications.
567 // Custom notifications not belonging to Content and Chrome should start
568 // from here.
569 NOTIFICATION_CHROME_END,
572 } // namespace chrome
574 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_