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

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

Issue 2828021: Take 2: sync changes to support encryption (Closed)
Patch Set: fix flaky password test under valgrind Created 10 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/interactive_ui/interactive_ui_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_NOTIFICATION_TYPE_H_ 5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_
6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_
7 7
8 // This file describes various types used to describe and filter notifications 8 // This file describes various types used to describe and filter notifications
9 // that pass through the NotificationService. 9 // that pass through the NotificationService.
10 // 10 //
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 SYNC_CONFIGURE_START, 990 SYNC_CONFIGURE_START,
991 991
992 // The sync service is finished the configuration process. 992 // The sync service is finished the configuration process.
993 SYNC_CONFIGURE_DONE, 993 SYNC_CONFIGURE_DONE,
994 994
995 // The session service has been saved. This notification type is only sent 995 // The session service has been saved. This notification type is only sent
996 // if there were new SessionService commands to save, and not for no-op save 996 // if there were new SessionService commands to save, and not for no-op save
997 // operations. 997 // operations.
998 SESSION_SERVICE_SAVED, 998 SESSION_SERVICE_SAVED,
999 999
1000 // The syncer requires a passphrase to decrypt sensitive updates. This
1001 // notification is sent when the first sensitive data type is setup by the
1002 // user as well as anytime any the passphrase is changed in another synced
1003 // client.
1004 SYNC_PASSPHRASE_REQUIRED,
1005
1006 // Sent when the passphrase provided by the user is accepted. After this
1007 // notification is sent, updates to sensitive nodes are encrypted using the
1008 // accepted passphrase.
1009 SYNC_PASSPHRASE_ACCEPTED,
1010
1000 // Cookies ----------------------------------------------------------------- 1011 // Cookies -----------------------------------------------------------------
1001 1012
1002 // Sent when a cookie changes. The source is a Profile object, the details 1013 // Sent when a cookie changes. The source is a Profile object, the details
1003 // are a ChromeCookieDetails object. 1014 // are a ChromeCookieDetails object.
1004 COOKIE_CHANGED, 1015 COOKIE_CHANGED,
1005 1016
1006 // Misc -------------------------------------------------------------------- 1017 // Misc --------------------------------------------------------------------
1007 1018
1008 #if defined(OS_CHROMEOS) 1019 #if defined(OS_CHROMEOS)
1009 // Sent when a chromium os user logs in. 1020 // Sent when a chromium os user logs in.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
1074 }; 1085 };
1075 1086
1076 inline bool operator==(NotificationType::Type a, NotificationType b) { 1087 inline bool operator==(NotificationType::Type a, NotificationType b) {
1077 return a == b.value; 1088 return a == b.value;
1078 } 1089 }
1079 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1090 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1080 return a != b.value; 1091 return a != b.value;
1081 } 1092 }
1082 1093
1083 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 1094 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/interactive_ui/interactive_ui_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698