| 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 "chrome/browser/notifications/sync_notifier/synced_notification_app_inf
o_service.h" | 11 #include "chrome/browser/notifications/sync_notifier/synced_notification_app_inf
o_service.h" |
| 12 #include "sync/api/sync_data.h" | 12 #include "sync/api/sync_data.h" |
| 13 #include "sync/api/sync_error_factory.h" | 13 #include "sync/api/sync_error_factory.h" |
| 14 #include "sync/protocol/sync.pb.h" | 14 #include "sync/protocol/sync.pb.h" |
| 15 #include "sync/protocol/synced_notification_specifics.pb.h" | 15 #include "sync/protocol/synced_notification_specifics.pb.h" |
| 16 | 16 |
| 17 // Test data for App Info structures. | 17 // Test data for App Info structures. |
| 18 extern const char kSendingService1Name[]; | 18 extern const char kSendingService1Name[]; |
| 19 extern const char kSendingService2Name[]; | 19 extern const char kSendingService2Name[]; |
| 20 extern const char kSendingService3Name[]; | 20 extern const char kSendingService3Name[]; |
| 21 extern const char kTestInfoUrl[]; |
| 21 extern const char kTestIconUrl[]; | 22 extern const char kTestIconUrl[]; |
| 22 | 23 |
| 23 // Fake data for creating a SyncedNotification. | 24 // Fake data for creating a SyncedNotification. |
| 24 extern const char kAppId1[]; | 25 extern const char kAppId1[]; |
| 25 extern const char kAppId2[]; | 26 extern const char kAppId2[]; |
| 26 extern const char kAppId3[]; | 27 extern const char kAppId3[]; |
| 27 extern const char kAppId4[]; | 28 extern const char kAppId4[]; |
| 28 extern const char kAppId5[]; | 29 extern const char kAppId5[]; |
| 29 extern const char kAppId6[]; | 30 extern const char kAppId6[]; |
| 30 extern const char kAppId7[]; | 31 extern const char kAppId7[]; |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 SyncedNotificationAppInfo* FindSyncedNotificationAppInfoByName( | 156 SyncedNotificationAppInfo* FindSyncedNotificationAppInfoByName( |
| 156 const std::string& name); | 157 const std::string& name); |
| 157 std::vector<std::string> added_app_ids_; | 158 std::vector<std::string> added_app_ids_; |
| 158 std::vector<std::string> removed_app_ids_; | 159 std::vector<std::string> removed_app_ids_; |
| 159 bool on_bitmap_fetches_done_called_; | 160 bool on_bitmap_fetches_done_called_; |
| 160 }; | 161 }; |
| 161 | 162 |
| 162 } // namespace notifier | 163 } // namespace notifier |
| 163 | 164 |
| 164 #endif // CHROME_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_SYNC_NOTIFIER_TEST_UTILS_H
_ | 165 #endif // CHROME_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_SYNC_NOTIFIER_TEST_UTILS_H
_ |
| OLD | NEW |