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

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

Issue 10458077: When the Google base URL changes and causes keyword updates, save those to the database. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_COMMON_CHROME_NOTIFICATION_TYPES_H_ 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/public/browser/notification_types.h" 9 #include "content/public/browser/notification_types.h"
10 10
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 // AutocompleteController, the details not used. 385 // AutocompleteController, the details not used.
386 NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY, 386 NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY,
387 387
388 // This is sent when an item of the Omnibox popup is selected. The source 388 // This is sent when an item of the Omnibox popup is selected. The source
389 // is the profile. 389 // is the profile.
390 NOTIFICATION_OMNIBOX_OPENED_URL, 390 NOTIFICATION_OMNIBOX_OPENED_URL,
391 391
392 // Sent when the Google URL for a profile has been updated. Some services 392 // Sent when the Google URL for a profile has been updated. Some services
393 // cache this value and need to update themselves when it changes. See 393 // cache this value and need to update themselves when it changes. See
394 // google_util::GetGoogleURLAndUpdateIfNecessary(). The source is the 394 // google_util::GetGoogleURLAndUpdateIfNecessary(). The source is the
395 // Profile, the details the new (const) GURL. 395 // Profile, the details a GoogleURLTracker::UpdatedDetails containing the old
396 // and new URLs.
396 // 397 //
397 // Note that because incognito mode requests for the GoogleURLTracker are 398 // Note that because incognito mode requests for the GoogleURLTracker are
398 // redirected to the non-incognito profile's copy, this notification will only 399 // redirected to the non-incognito profile's copy, this notification will only
399 // ever fire on non-incognito profiles; thus listeners should use 400 // ever fire on non-incognito profiles; thus listeners should use
400 // GetOriginalProfile() when constructing a Source to filter against. 401 // GetOriginalProfile() when constructing a Source to filter against.
401 NOTIFICATION_GOOGLE_URL_UPDATED, 402 NOTIFICATION_GOOGLE_URL_UPDATED,
402 403
403 // Printing ---------------------------------------------------------------- 404 // Printing ----------------------------------------------------------------
404 405
405 // Notification from PrintJob that an event occurred. It can be that a page 406 // Notification from PrintJob that an event occurred. It can be that a page
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 // Currently only Content and Chrome define and use notifications. 1117 // Currently only Content and Chrome define and use notifications.
1117 // Custom notifications not belonging to Content and Chrome should start 1118 // Custom notifications not belonging to Content and Chrome should start
1118 // from here. 1119 // from here.
1119 NOTIFICATION_CHROME_END, 1120 NOTIFICATION_CHROME_END,
1120 }; 1121 };
1121 1122
1122 } // namespace chrome 1123 } // namespace chrome
1123 1124
1124 1125
1125 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1126 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698