OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_SYNC_NOTIFIER_TEST_UTILS_H_ | 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_SYNC_NOTIFIER_TEST_UTILS_H_ |
6 #define CHROME_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_SYNC_NOTIFIER_TEST_UTILS_H_ | 6 #define CHROME_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_SYNC_NOTIFIER_TEST_UTILS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 extern const char kButtonTwoIconUrl[]; | 75 extern const char kButtonTwoIconUrl[]; |
76 extern const char kButtonTwoUrl[]; | 76 extern const char kButtonTwoUrl[]; |
77 extern const char kContainedTitle1[]; | 77 extern const char kContainedTitle1[]; |
78 extern const char kContainedTitle2[]; | 78 extern const char kContainedTitle2[]; |
79 extern const char kContainedTitle3[]; | 79 extern const char kContainedTitle3[]; |
80 extern const char kContainedMessage1[]; | 80 extern const char kContainedMessage1[]; |
81 extern const char kContainedMessage2[]; | 81 extern const char kContainedMessage2[]; |
82 extern const char kContainedMessage3[]; | 82 extern const char kContainedMessage3[]; |
83 const uint64 kFakeCreationTime = 42; | 83 const uint64 kFakeCreationTime = 42; |
84 const int kProtobufPriority = static_cast<int>( | 84 const int kProtobufPriority = static_cast<int>( |
85 sync_pb::CoalescedSyncedNotification_Priority_LOW); | 85 sync_pb::CoalescedSyncedNotification_Priority_INVISIBLE); |
86 | 86 |
87 const sync_pb::CoalescedSyncedNotification_ReadState kRead = | 87 const sync_pb::CoalescedSyncedNotification_ReadState kRead = |
88 sync_pb::CoalescedSyncedNotification_ReadState_READ; | 88 sync_pb::CoalescedSyncedNotification_ReadState_READ; |
89 const sync_pb::CoalescedSyncedNotification_ReadState kDismissed = | 89 const sync_pb::CoalescedSyncedNotification_ReadState kDismissed = |
90 sync_pb::CoalescedSyncedNotification_ReadState_DISMISSED; | 90 sync_pb::CoalescedSyncedNotification_ReadState_DISMISSED; |
91 const sync_pb::CoalescedSyncedNotification_ReadState kUnread = | 91 const sync_pb::CoalescedSyncedNotification_ReadState kUnread = |
92 sync_pb::CoalescedSyncedNotification_ReadState_UNREAD; | 92 sync_pb::CoalescedSyncedNotification_ReadState_UNREAD; |
93 | 93 |
94 // This function builds the sync data object we use to create a testing | 94 // This function builds the sync data object we use to create a testing |
95 // notification. | 95 // notification. |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 SyncedNotificationAppInfo* FindSyncedNotificationAppInfoByName( | 155 SyncedNotificationAppInfo* FindSyncedNotificationAppInfoByName( |
156 const std::string& name); | 156 const std::string& name); |
157 std::vector<std::string> added_app_ids_; | 157 std::vector<std::string> added_app_ids_; |
158 std::vector<std::string> removed_app_ids_; | 158 std::vector<std::string> removed_app_ids_; |
159 bool on_bitmap_fetches_done_called_; | 159 bool on_bitmap_fetches_done_called_; |
160 }; | 160 }; |
161 | 161 |
162 } // namespace notifier | 162 } // namespace notifier |
163 | 163 |
164 #endif // CHROME_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_SYNC_NOTIFIER_TEST_UTILS_H
_ | 164 #endif // CHROME_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_SYNC_NOTIFIER_TEST_UTILS_H
_ |
OLD | NEW |