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

Unified Diff: chrome/browser/chrome_notification_types.h

Issue 294563002: Revert of Elimate NOTIFICATION_GOOGLE_URL_UPDATED (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/google/google_url_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_notification_types.h
diff --git a/chrome/browser/chrome_notification_types.h b/chrome/browser/chrome_notification_types.h
index 9303cac9c659d6ee4d97d78ba59010bb07a23334..5358926cb805d5fdcd4e6d052fb06ac456d58f5f 100644
--- a/chrome/browser/chrome_notification_types.h
+++ b/chrome/browser/chrome_notification_types.h
@@ -352,6 +352,18 @@
// This is sent from Instant when the omnibox focus state changes.
NOTIFICATION_OMNIBOX_FOCUS_CHANGED,
+
+ // Sent when the Google URL for a profile has been updated. Some services
+ // cache this value and need to update themselves when it changes. See
+ // google_util::GetGoogleURLAndUpdateIfNecessary(). The source is the
+ // Profile, the details a GoogleURLTracker::UpdatedDetails containing the old
+ // and new URLs.
+ //
+ // Note that because incognito mode requests for the GoogleURLTracker are
+ // redirected to the non-incognito profile's copy, this notification will only
+ // ever fire on non-incognito profiles; thus listeners should use
+ // GetOriginalProfile() when constructing a Source to filter against.
+ NOTIFICATION_GOOGLE_URL_UPDATED,
// Printing ----------------------------------------------------------------
« no previous file with comments | « no previous file | chrome/browser/google/google_url_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698