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

Side by Side Diff: chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc

Issue 228753006: Reland r262272: "Hook up the Info URL from SyncedNotificationsAppInfo". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed test on linux+aura, disabled on linux-gtk Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
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. 7 // Test data for App Info structures.
8 const char kSendingService1Name[] = "TestService1"; 8 const char kSendingService1Name[] = "TestService1";
9 const char kSendingService2Name[] = "TestService2"; 9 const char kSendingService2Name[] = "TestService2";
10 const char kSendingService3Name[] = "TestService3"; 10 const char kSendingService3Name[] = "TestService3";
11 const char kTestInfoUrl[] = "https://www.google.com/info.html";
11 const char kTestIconUrl[] = "https://www.google.com/someicon.png"; 12 const char kTestIconUrl[] = "https://www.google.com/someicon.png";
12 13
13 // Fake data for creating a SyncData object to use in creating a 14 // Fake data for creating a SyncData object to use in creating a
14 // SyncedNotification. 15 // SyncedNotification.
15 const char kAppId1[] = "fboilmbenheemaomgaeehigklolhkhnf"; 16 const char kAppId1[] = "fboilmbenheemaomgaeehigklolhkhnf";
16 const char kAppId2[] = "fbcmoldooppoahjhfflnmljoanccekpf"; 17 const char kAppId2[] = "fbcmoldooppoahjhfflnmljoanccekpf";
17 const char kAppId3[] = "fbcmoldooppoahjhfflnmljoanccek33"; 18 const char kAppId3[] = "fbcmoldooppoahjhfflnmljoanccek33";
18 const char kAppId4[] = "fbcmoldooppoahjhfflnmljoanccek44"; 19 const char kAppId4[] = "fbcmoldooppoahjhfflnmljoanccek44";
19 const char kAppId5[] = "fbcmoldooppoahjhfflnmljoanccek55"; 20 const char kAppId5[] = "fbcmoldooppoahjhfflnmljoanccek55";
20 const char kAppId6[] = "fbcmoldooppoahjhfflnmljoanccek66"; 21 const char kAppId6[] = "fbcmoldooppoahjhfflnmljoanccek66";
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 280
280 std::vector<std::string> 281 std::vector<std::string>
281 StubSyncedNotificationAppInfoService::removed_app_ids() { 282 StubSyncedNotificationAppInfoService::removed_app_ids() {
282 return removed_app_ids_; 283 return removed_app_ids_;
283 } 284 }
284 bool StubSyncedNotificationAppInfoService::on_bitmap_fetches_done_called() { 285 bool StubSyncedNotificationAppInfoService::on_bitmap_fetches_done_called() {
285 return on_bitmap_fetches_done_called_; 286 return on_bitmap_fetches_done_called_;
286 } 287 }
287 288
288 } // namespace notifier 289 } // namespace notifier
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698