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 #include "chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.h" | 5 #include "chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.h" |
6 | 6 |
| 7 // Test data for App Info structures. |
| 8 const char kSendingService1Name[] = "TestService1"; |
| 9 const char kSendingService2Name[] = "TestService2"; |
| 10 const char kSendingService3Name[] = "TestService3"; |
| 11 const char kTestIconUrl[] = "https://www.google.com/someicon.png"; |
| 12 |
7 // Fake data for creating a SyncData object to use in creating a | 13 // Fake data for creating a SyncData object to use in creating a |
8 // SyncedNotification. | 14 // SyncedNotification. |
9 const char kAppId1[] = "fboilmbenheemaomgaeehigklolhkhnf"; | 15 const char kAppId1[] = "fboilmbenheemaomgaeehigklolhkhnf"; |
10 const char kAppId2[] = "fbcmoldooppoahjhfflnmljoanccekpf"; | 16 const char kAppId2[] = "fbcmoldooppoahjhfflnmljoanccekpf"; |
11 const char kAppId3[] = "fbcmoldooppoahjhfflnmljoanccek33"; | 17 const char kAppId3[] = "fbcmoldooppoahjhfflnmljoanccek33"; |
12 const char kAppId4[] = "fbcmoldooppoahjhfflnmljoanccek44"; | 18 const char kAppId4[] = "fbcmoldooppoahjhfflnmljoanccek44"; |
13 const char kAppId5[] = "fbcmoldooppoahjhfflnmljoanccek55"; | 19 const char kAppId5[] = "fbcmoldooppoahjhfflnmljoanccek55"; |
14 const char kAppId6[] = "fbcmoldooppoahjhfflnmljoanccek66"; | 20 const char kAppId6[] = "fbcmoldooppoahjhfflnmljoanccek66"; |
15 const char kAppId7[] = "fbcmoldooppoahjhfflnmljoanccek77"; | 21 const char kAppId7[] = "fbcmoldooppoahjhfflnmljoanccek77"; |
16 const char kKey1[] = "foo"; | 22 const char kKey1[] = "foo"; |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 action2->mutable_icon()->set_alt_text(kButtonTwoTitle); | 195 action2->mutable_icon()->set_alt_text(kButtonTwoTitle); |
190 action2->set_url(kButtonTwoUrl); | 196 action2->set_url(kButtonTwoUrl); |
191 | 197 |
192 syncer::SyncData sync_data = syncer::SyncData::CreateLocalData( | 198 syncer::SyncData sync_data = syncer::SyncData::CreateLocalData( |
193 "syncer::SYNCED_NOTIFICATIONS", | 199 "syncer::SYNCED_NOTIFICATIONS", |
194 "ChromeNotifierServiceUnitTest", | 200 "ChromeNotifierServiceUnitTest", |
195 entity_specifics); | 201 entity_specifics); |
196 | 202 |
197 return sync_data; | 203 return sync_data; |
198 } | 204 } |
OLD | NEW |