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

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

Issue 3024002: Add IssueAuthToken support to the TokenService. (Closed)
Patch Set: Code review fixes Created 10 years, 4 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/common/net/gaia/gaia_constants.cc ('k') | chrome/common_constants.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 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 // notification is sent, updates to sensitive nodes are encrypted using the 1015 // notification is sent, updates to sensitive nodes are encrypted using the
1016 // accepted passphrase. 1016 // accepted passphrase.
1017 SYNC_PASSPHRASE_ACCEPTED, 1017 SYNC_PASSPHRASE_ACCEPTED,
1018 1018
1019 // Cookies ----------------------------------------------------------------- 1019 // Cookies -----------------------------------------------------------------
1020 1020
1021 // Sent when a cookie changes. The source is a Profile object, the details 1021 // Sent when a cookie changes. The source is a Profile object, the details
1022 // are a ChromeCookieDetails object. 1022 // are a ChromeCookieDetails object.
1023 COOKIE_CHANGED, 1023 COOKIE_CHANGED,
1024 1024
1025 // Token Service -----------------------------------------------------------
1026
1027 // When the token service has a new token available for a service, one of
1028 // these notifications is issued per new token.
1029 // The source is a TokenService on the Profile. The details are a
1030 // TokenAvailableDetails object.
1031 TOKEN_AVAILABLE,
1032
1033 // If a token request failed, one of these is issued per failed request.
1034 // The source is a TokenService on the Profile. The details are a
1035 // TokenRequestFailedDetails object.
1036 TOKEN_REQUEST_FAILED,
1037
1025 // Misc -------------------------------------------------------------------- 1038 // Misc --------------------------------------------------------------------
1026 1039
1027 #if defined(OS_CHROMEOS) 1040 #if defined(OS_CHROMEOS)
1028 // Sent when a chromium os user logs in. 1041 // Sent when a chromium os user logs in.
1029 LOGIN_USER_CHANGED, 1042 LOGIN_USER_CHANGED,
1030 1043
1031 // Sent when user image is updated. 1044 // Sent when user image is updated.
1032 LOGIN_USER_IMAGE_CHANGED, 1045 LOGIN_USER_IMAGE_CHANGED,
1033 1046
1034 // Sent when a chromium os user attempts to log in. The source is 1047 // Sent when a chromium os user attempts to log in. The source is
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
1105 }; 1118 };
1106 1119
1107 inline bool operator==(NotificationType::Type a, NotificationType b) { 1120 inline bool operator==(NotificationType::Type a, NotificationType b) {
1108 return a == b.value; 1121 return a == b.value;
1109 } 1122 }
1110 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1123 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1111 return a != b.value; 1124 return a != b.value;
1112 } 1125 }
1113 1126
1114 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 1127 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/common/net/gaia/gaia_constants.cc ('k') | chrome/common_constants.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698