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

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

Issue 6874018: make new syncer thread the default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review for Raghu. Created 9 years, 8 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
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 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 // details are None. 1108 // details are None.
1109 DESKTOP_NOTIFICATION_SETTINGS_CHANGED, 1109 DESKTOP_NOTIFICATION_SETTINGS_CHANGED,
1110 1110
1111 // Sent when the geolocation settings change. The source is the 1111 // Sent when the geolocation settings change. The source is the
1112 // GeolocationContentSettingsMap object, the details are 1112 // GeolocationContentSettingsMap object, the details are
1113 // ContentSettingsNotificationsDetails. 1113 // ContentSettingsNotificationsDetails.
1114 GEOLOCATION_SETTINGS_CHANGED, 1114 GEOLOCATION_SETTINGS_CHANGED,
1115 1115
1116 // Sync -------------------------------------------------------------------- 1116 // Sync --------------------------------------------------------------------
1117 1117
1118 // Sent when the sync backend has been paused. 1118 // Sent when the syncer is blocked configuring.
1119 SYNC_PAUSED, 1119 SYNC_CONFIGURE_BLOCKED,
1120
1121 // Sent when the sync backend has been resumed.
1122 SYNC_RESUMED,
1123 1120
1124 // The sync service has started the configuration process. 1121 // The sync service has started the configuration process.
1125 SYNC_CONFIGURE_START, 1122 SYNC_CONFIGURE_START,
1126 1123
1127 // The sync service is finished the configuration process. 1124 // The sync service is finished the configuration process.
1128 SYNC_CONFIGURE_DONE, 1125 SYNC_CONFIGURE_DONE,
1129 1126
1130 // The session service has been saved. This notification type is only sent 1127 // The session service has been saved. This notification type is only sent
1131 // if there were new SessionService commands to save, and not for no-op save 1128 // if there were new SessionService commands to save, and not for no-op save
1132 // operations. 1129 // operations.
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1343 }; 1340 };
1344 1341
1345 inline bool operator==(NotificationType::Type a, NotificationType b) { 1342 inline bool operator==(NotificationType::Type a, NotificationType b) {
1346 return a == b.value; 1343 return a == b.value;
1347 } 1344 }
1348 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1345 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1349 return a != b.value; 1346 return a != b.value;
1350 } 1347 }
1351 1348
1352 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ 1349 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« chrome/test/live_sync/live_sync_test.cc ('K') | « chrome/test/live_sync/live_sync_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698