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

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

Issue 3058021: OwnerManager, allows use of OwnerKeyUtils to take ownership of a device (Closed)
Patch Set: added a lot of comments per gauravsh 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/chrome_tests.gypi ('k') | no next file » | 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 #pragma once 7 #pragma once
8 8
9 // This file describes various types used to describe and filter notifications 9 // This file describes various types used to describe and filter notifications
10 // that pass through the NotificationService. 10 // that pass through the NotificationService.
(...skipping 1050 matching lines...) Expand 10 before | Expand all | Expand 10 after
1061 // screen is locked. When details is a false, the source object 1061 // screen is locked. When details is a false, the source object
1062 // is being deleted, so the receiver shouldn't use the screen locker 1062 // is being deleted, so the receiver shouldn't use the screen locker
1063 // object. 1063 // object.
1064 SCREEN_LOCK_STATE_CHANGED, 1064 SCREEN_LOCK_STATE_CHANGED,
1065 1065
1066 // Sent when the network state has changed on UI thread. 1066 // Sent when the network state has changed on UI thread.
1067 // The source is AllSources and the details is NetworkStateDetails defined 1067 // The source is AllSources and the details is NetworkStateDetails defined
1068 // in chrome/browser/chromeos/network_state_notifier.h. 1068 // in chrome/browser/chromeos/network_state_notifier.h.
1069 // TODO(oshima): Port this to all platforms. 1069 // TODO(oshima): Port this to all platforms.
1070 NETWORK_STATE_CHANGED, 1070 NETWORK_STATE_CHANGED,
1071
1072 // Sent when an attempt to acquire the public key of the owner of a chromium
1073 // os device has completed. Details are a boolean value indicating success.
1074 OWNER_KEY_FETCH_ATTEMPT_COMPLETE,
1071 #endif 1075 #endif
1072 1076
1073 // Sent before the repost form warning is brought up. 1077 // Sent before the repost form warning is brought up.
1074 // The source is a NavigationController. 1078 // The source is a NavigationController.
1075 REPOST_WARNING_SHOWN, 1079 REPOST_WARNING_SHOWN,
1076 1080
1077 #if defined(TOOLKIT_VIEWS) 1081 #if defined(TOOLKIT_VIEWS)
1078 // Sent when a bookmark's context menu is shown. Used to notify 1082 // Sent when a bookmark's context menu is shown. Used to notify
1079 // tests that the context menu has been created and shown. 1083 // tests that the context menu has been created and shown.
1080 BOOKMARK_CONTEXT_MENU_SHOWN, 1084 BOOKMARK_CONTEXT_MENU_SHOWN,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1119 }; 1123 };
1120 1124
1121 inline bool operator==(NotificationType::Type a, NotificationType b) { 1125 inline bool operator==(NotificationType::Type a, NotificationType b) {
1122 return a == b.value; 1126 return a == b.value;
1123 } 1127 }
1124 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1128 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1125 return a != b.value; 1129 return a != b.value;
1126 } 1130 }
1127 1131
1128 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 1132 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698