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

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

Issue 6677049: Comb up ownership things. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: c Created 9 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
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_COMMON_NOTIFICATION_TYPE_H_ 5 #ifndef CONTENT_COMMON_NOTIFICATION_TYPE_H_
6 #define CONTENT_COMMON_NOTIFICATION_TYPE_H_ 6 #define CONTENT_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 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after
1252 NETWORK_STATE_CHANGED, 1252 NETWORK_STATE_CHANGED,
1253 1253
1254 // Sent when an attempt to acquire the public key of the owner of a chromium 1254 // Sent when an attempt to acquire the public key of the owner of a chromium
1255 // os device has succeeded. 1255 // os device has succeeded.
1256 OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED, 1256 OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED,
1257 1257
1258 // Sent when an attempt to acquire the public key of the owner of a chromium 1258 // Sent when an attempt to acquire the public key of the owner of a chromium
1259 // os device has failed. 1259 // os device has failed.
1260 OWNER_KEY_FETCH_ATTEMPT_FAILED, 1260 OWNER_KEY_FETCH_ATTEMPT_FAILED,
1261 1261
1262 // Sent after device was successfully owned. 1262 // Sent after UserManager checked ownership status of logged in user.
1263 OWNERSHIP_TAKEN, 1263 OWNERSHIP_CHECKED,
1264 1264
1265 // This is sent to a ChromeOS settings observer when a system setting is 1265 // This is sent to a ChromeOS settings observer when a system setting is
1266 // changed. The source is the CrosSettings and the details a std::string of 1266 // changed. The source is the CrosSettings and the details a std::string of
1267 // the changed setting. 1267 // the changed setting.
1268 SYSTEM_SETTING_CHANGED, 1268 SYSTEM_SETTING_CHANGED,
1269 #endif 1269 #endif
1270 1270
1271 // Sent before the repost form warning is brought up. 1271 // Sent before the repost form warning is brought up.
1272 // The source is a NavigationController. 1272 // The source is a NavigationController.
1273 REPOST_WARNING_SHOWN, 1273 REPOST_WARNING_SHOWN,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
1324 }; 1324 };
1325 1325
1326 inline bool operator==(NotificationType::Type a, NotificationType b) { 1326 inline bool operator==(NotificationType::Type a, NotificationType b) {
1327 return a == b.value; 1327 return a == b.value;
1328 } 1328 }
1329 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1329 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1330 return a != b.value; 1330 return a != b.value;
1331 } 1331 }
1332 1332
1333 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ 1333 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698