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

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

Issue 2862041: Remove abonded privacy blacklist implementation. (Closed)
Patch Set: fix unit tests Created 10 years, 5 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/chrome_switches.cc ('k') | chrome/common/pref_names.h » ('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 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 867
868 // Sent when an omnibox extension has sent back omnibox suggestions. The 868 // Sent when an omnibox extension has sent back omnibox suggestions. The
869 // source is the profile, and the details are a 869 // source is the profile, and the details are a
870 // std::pair<int suggest_id, ListValue suggestions_array> 870 // std::pair<int suggest_id, ListValue suggestions_array>
871 EXTENSION_OMNIBOX_SUGGESTIONS_READY, 871 EXTENSION_OMNIBOX_SUGGESTIONS_READY,
872 872
873 // The source is the extension object that changed. Details is a bool* 873 // The source is the extension object that changed. Details is a bool*
874 // with the new visibility. 874 // with the new visibility.
875 EXTENSION_APP_TOOLBAR_VISIBILITY_CHANGED, 875 EXTENSION_APP_TOOLBAR_VISIBILITY_CHANGED,
876 876
877 // Privacy Blacklist -------------------------------------------------------
878
879 // Sent on the IO thread when a non-visual resource (like a cookie)
880 // is blocked by a privacy blacklist. The details are a const URLRequest,
881 // and the source is a const ChromeURLRequestContext.
882 BLACKLIST_NONVISUAL_RESOURCE_BLOCKED,
883
884 // Debugging --------------------------------------------------------------- 877 // Debugging ---------------------------------------------------------------
885 878
886 // TODO(mpcomplete): Sent to diagnose a bug. Remove when fixed. 879 // TODO(mpcomplete): Sent to diagnose a bug. Remove when fixed.
887 // http://code.google.com/p/chromium/issues/detail?id=21201 880 // http://code.google.com/p/chromium/issues/detail?id=21201
888 EXTENSION_PORT_DELETED_DEBUG, 881 EXTENSION_PORT_DELETED_DEBUG,
889 882
890 // Desktop Notifications --------------------------------------------------- 883 // Desktop Notifications ---------------------------------------------------
891 884
892 // This notification is sent when a balloon is connected to a renderer 885 // This notification is sent when a balloon is connected to a renderer
893 // process to render the balloon contents. The source is a 886 // process to render the balloon contents. The source is a
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
1089 }; 1082 };
1090 1083
1091 inline bool operator==(NotificationType::Type a, NotificationType b) { 1084 inline bool operator==(NotificationType::Type a, NotificationType b) {
1092 return a == b.value; 1085 return a == b.value;
1093 } 1086 }
1094 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1087 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1095 return a != b.value; 1088 return a != b.value;
1096 } 1089 }
1097 1090
1098 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 1091 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698