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

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

Issue 193773003: Turn on and use the AppInfo data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Turn on app info: fix windows build Created 6 years, 9 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.
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698