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" |
11 #include "sync/api/sync_data.h" | 11 #include "sync/api/sync_data.h" |
12 #include "sync/protocol/sync.pb.h" | 12 #include "sync/protocol/sync.pb.h" |
13 #include "sync/protocol/synced_notification_specifics.pb.h" | 13 #include "sync/protocol/synced_notification_specifics.pb.h" |
14 | 14 |
| 15 // Test data for App Info structures. |
| 16 extern const char kSendingService1Name[]; |
| 17 extern const char kSendingService2Name[]; |
| 18 extern const char kSendingService3Name[]; |
| 19 extern const char kTestIconUrl[]; |
15 | 20 |
16 // Fake data for creating a SyncedNotification. | 21 // Fake data for creating a SyncedNotification. |
17 extern const char kAppId1[]; | 22 extern const char kAppId1[]; |
18 extern const char kAppId2[]; | 23 extern const char kAppId2[]; |
19 extern const char kAppId3[]; | 24 extern const char kAppId3[]; |
20 extern const char kAppId4[]; | 25 extern const char kAppId4[]; |
21 extern const char kAppId5[]; | 26 extern const char kAppId5[]; |
22 extern const char kAppId6[]; | 27 extern const char kAppId6[]; |
23 extern const char kAppId7[]; | 28 extern const char kAppId7[]; |
24 extern const char kKey1[]; | 29 extern const char kKey1[]; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 syncer::SyncData CreateSyncData( | 94 syncer::SyncData CreateSyncData( |
90 const std::string& title, | 95 const std::string& title, |
91 const std::string& text, | 96 const std::string& text, |
92 const std::string& app_icon_url, | 97 const std::string& app_icon_url, |
93 const std::string& image_url, | 98 const std::string& image_url, |
94 const std::string& app_id, | 99 const std::string& app_id, |
95 const std::string& key, | 100 const std::string& key, |
96 const sync_pb::CoalescedSyncedNotification_ReadState read_state); | 101 const sync_pb::CoalescedSyncedNotification_ReadState read_state); |
97 | 102 |
98 #endif // CHROME_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_SYNC_NOTIFIER_TEST_UTILS_H
_ | 103 #endif // CHROME_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_SYNC_NOTIFIER_TEST_UTILS_H
_ |
OLD | NEW |