OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/prefs/pref_service.h" |
5 #include "base/prefs/public/pref_member.h" | 6 #include "base/prefs/public/pref_member.h" |
6 #include "chrome/browser/prefs/pref_service.h" | |
7 #include "chrome/browser/sync/profile_sync_service.h" | 7 #include "chrome/browser/sync/profile_sync_service.h" |
8 #include "chrome/browser/sync/profile_sync_service_harness.h" | 8 #include "chrome/browser/sync/profile_sync_service_harness.h" |
9 #include "chrome/browser/sync/test/integration/bookmarks_helper.h" | 9 #include "chrome/browser/sync/test/integration/bookmarks_helper.h" |
10 #include "chrome/browser/sync/test/integration/passwords_helper.h" | 10 #include "chrome/browser/sync/test/integration/passwords_helper.h" |
11 #include "chrome/browser/sync/test/integration/sync_test.h" | 11 #include "chrome/browser/sync/test/integration/sync_test.h" |
12 #include "chrome/common/pref_names.h" | 12 #include "chrome/common/pref_names.h" |
13 #include "google_apis/gaia/google_service_auth_error.h" | 13 #include "google_apis/gaia/google_service_auth_error.h" |
14 #include "sync/protocol/sync_protocol_error.h" | 14 #include "sync/protocol/sync_protocol_error.h" |
15 | 15 |
16 using bookmarks_helper::AddFolder; | 16 using bookmarks_helper::AddFolder; |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 | 188 |
189 synced_datatypes = GetClient(0)->service()->GetPreferredDataTypes(); | 189 synced_datatypes = GetClient(0)->service()->GetPreferredDataTypes(); |
190 ASSERT_FALSE(synced_datatypes.Has(syncer::TYPED_URLS)); | 190 ASSERT_FALSE(synced_datatypes.Has(syncer::TYPED_URLS)); |
191 | 191 |
192 const BookmarkNode* node1 = AddFolder(0, 0, L"title1"); | 192 const BookmarkNode* node1 = AddFolder(0, 0, L"title1"); |
193 SetTitle(0, node1, L"new_title1"); | 193 SetTitle(0, node1, L"new_title1"); |
194 ASSERT_TRUE(GetClient(0)->AwaitFullSyncCompletion("Sync.")); | 194 ASSERT_TRUE(GetClient(0)->AwaitFullSyncCompletion("Sync.")); |
195 // TODO(lipalani)" Verify initial sync ended for typed url is false. | 195 // TODO(lipalani)" Verify initial sync ended for typed url is false. |
196 } | 196 } |
197 | 197 |
OLD | NEW |