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

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

Issue 3118003: Revert 55449 - Fix some problems with TaskManagerBrowserTest.PopulateWebCache... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/task_manager_resource_providers.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) 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 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 // these notifications is issued per new token. 1044 // these notifications is issued per new token.
1045 // The source is a TokenService on the Profile. The details are a 1045 // The source is a TokenService on the Profile. The details are a
1046 // TokenAvailableDetails object. 1046 // TokenAvailableDetails object.
1047 TOKEN_AVAILABLE, 1047 TOKEN_AVAILABLE,
1048 1048
1049 // If a token request failed, one of these is issued per failed request. 1049 // If a token request failed, one of these is issued per failed request.
1050 // The source is a TokenService on the Profile. The details are a 1050 // The source is a TokenService on the Profile. The details are a
1051 // TokenRequestFailedDetails object. 1051 // TokenRequestFailedDetails object.
1052 TOKEN_REQUEST_FAILED, 1052 TOKEN_REQUEST_FAILED,
1053 1053
1054 // Task Manager ------------------------------------------------------------
1055
1056 // Sent after the Task Manager has received updated ResourceTypeStats
1057 // from a renderer. Source is a TaskManagerModel.
1058 TASK_MANAGER_RESOURCE_TYPE_STATS_UPDATED,
1059
1060 // Misc -------------------------------------------------------------------- 1054 // Misc --------------------------------------------------------------------
1061 1055
1062 #if defined(OS_CHROMEOS) 1056 #if defined(OS_CHROMEOS)
1063 // Sent when a chromium os user logs in. 1057 // Sent when a chromium os user logs in.
1064 LOGIN_USER_CHANGED, 1058 LOGIN_USER_CHANGED,
1065 1059
1066 // Sent when user image is updated. 1060 // Sent when user image is updated.
1067 LOGIN_USER_IMAGE_CHANGED, 1061 LOGIN_USER_IMAGE_CHANGED,
1068 1062
1069 // Sent when a chromium os user attempts to log in. The source is 1063 // Sent when a chromium os user attempts to log in. The source is
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
1149 }; 1143 };
1150 1144
1151 inline bool operator==(NotificationType::Type a, NotificationType b) { 1145 inline bool operator==(NotificationType::Type a, NotificationType b) {
1152 return a == b.value; 1146 return a == b.value;
1153 } 1147 }
1154 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1148 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1155 return a != b.value; 1149 return a != b.value;
1156 } 1150 }
1157 1151
1158 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 1152 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/browser/task_manager_resource_providers.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698