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

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

Issue 12476031: Refactor notifications of chrome/browser/webdata (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again Created 7 years, 9 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 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_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 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/public/browser/notification_types.h" 9 #include "content/public/browser/notification_types.h"
10 10
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 // Source<BalloonHost> with a pointer to the the balloon. A 698 // Source<BalloonHost> with a pointer to the the balloon. A
699 // NOTIFY_BALLOON_DISCONNECTED is guaranteed before the source pointer 699 // NOTIFY_BALLOON_DISCONNECTED is guaranteed before the source pointer
700 // becomes junk. No details expected. 700 // becomes junk. No details expected.
701 NOTIFICATION_NOTIFY_BALLOON_CONNECTED, 701 NOTIFICATION_NOTIFY_BALLOON_CONNECTED,
702 702
703 // This message is sent after a balloon is disconnected from the renderer 703 // This message is sent after a balloon is disconnected from the renderer
704 // process. The source is a Source<BalloonHost> with a pointer to the 704 // process. The source is a Source<BalloonHost> with a pointer to the
705 // balloon host (the pointer is usable). No details are expected. 705 // balloon host (the pointer is usable). No details are expected.
706 NOTIFICATION_NOTIFY_BALLOON_DISCONNECTED, 706 NOTIFICATION_NOTIFY_BALLOON_DISCONNECTED,
707 707
708 // Web Database Service ----------------------------------------------------
709
710 // This notification is sent whenever autofill entries are
711 // changed. The detail of this notification is a list of changes
712 // represented by a vector of AutofillChange. Each change
713 // includes a change type (add, update, or remove) as well as the
714 // key of the entry that was affected.
715 NOTIFICATION_AUTOFILL_ENTRIES_CHANGED,
716
717 // Sent when an AutofillProfile has been added/removed/updated in the
718 // WebDatabase. The detail is an AutofillProfileChange.
719 NOTIFICATION_AUTOFILL_PROFILE_CHANGED,
720
721 // Sent when multiple Autofill entries have been modified by Sync.
722 // The source is the WebDataService in use by Sync. No details are specified.
723 NOTIFICATION_AUTOFILL_MULTIPLE_CHANGED,
724
725 // This notification is sent whenever the web database service has finished
726 // loading the web database. No details are expected.
727 NOTIFICATION_WEB_DATABASE_LOADED,
728
729 // Upgrade notifications --------------------------------------------------- 708 // Upgrade notifications ---------------------------------------------------
730 709
731 // Sent when Chrome believes an update has been installed and available for 710 // Sent when Chrome believes an update has been installed and available for
732 // long enough with the user shutting down to let it take effect. See 711 // long enough with the user shutting down to let it take effect. See
733 // upgrade_detector.cc for details on how long it waits. No details are 712 // upgrade_detector.cc for details on how long it waits. No details are
734 // expected. 713 // expected.
735 NOTIFICATION_UPGRADE_RECOMMENDED, 714 NOTIFICATION_UPGRADE_RECOMMENDED,
736 715
737 // Sent when a critical update has been installed. No details are expected. 716 // Sent when a critical update has been installed. No details are expected.
738 NOTIFICATION_CRITICAL_UPGRADE_INSTALLED, 717 NOTIFICATION_CRITICAL_UPGRADE_INSTALLED,
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
1244 // Note:- 1223 // Note:-
1245 // Currently only Content and Chrome define and use notifications. 1224 // Currently only Content and Chrome define and use notifications.
1246 // Custom notifications not belonging to Content and Chrome should start 1225 // Custom notifications not belonging to Content and Chrome should start
1247 // from here. 1226 // from here.
1248 NOTIFICATION_CHROME_END, 1227 NOTIFICATION_CHROME_END,
1249 }; 1228 };
1250 1229
1251 } // namespace chrome 1230 } // namespace chrome
1252 1231
1253 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1232 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698