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

Side by Side Diff: chrome/browser/sync/test/integration/preferences_helper.cc

Issue 7841007: Rename browser/sync/test/live_sync directory to browser/sync/test/integration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 years, 3 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/sync/test/live_sync/preferences_helper.h" 5 #include "chrome/browser/sync/test/integration/preferences_helper.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "chrome/browser/prefs/pref_service.h" 8 #include "chrome/browser/prefs/pref_service.h"
9 #include "chrome/browser/prefs/scoped_user_pref_update.h" 9 #include "chrome/browser/prefs/scoped_user_pref_update.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/sync/profile_sync_service_harness.h" 11 #include "chrome/browser/sync/profile_sync_service_harness.h"
12 #include "chrome/browser/sync/test/live_sync/live_sync_test.h" 12 #include "chrome/browser/sync/test/integration/sync_test.h"
13 #include "chrome/browser/sync/test/live_sync/sync_datatype_helper.h" 13 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h"
14 14
15 using sync_datatype_helper::test; 15 using sync_datatype_helper::test;
16 16
17 namespace preferences_helper { 17 namespace preferences_helper {
18 18
19 PrefService* GetPrefs(int index) { 19 PrefService* GetPrefs(int index) {
20 return test()->GetProfile(index)->GetPrefs(); 20 return test()->GetProfile(index)->GetPrefs();
21 } 21 }
22 22
23 PrefService* GetVerifierPrefs() { 23 PrefService* GetVerifierPrefs() {
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 if (!reference_value->Equals(GetPrefs(i)->GetList(pref_name))) { 187 if (!reference_value->Equals(GetPrefs(i)->GetList(pref_name))) {
188 LOG(ERROR) << "List preference " << pref_name << " mismatched in" 188 LOG(ERROR) << "List preference " << pref_name << " mismatched in"
189 << " profile " << i << "."; 189 << " profile " << i << ".";
190 return false; 190 return false;
191 } 191 }
192 } 192 }
193 return true; 193 return true;
194 } 194 }
195 195
196 } // namespace preferences_helper 196 } // namespace preferences_helper
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/preferences_helper.h ('k') | chrome/browser/sync/test/integration/sessions_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698