OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 #if defined(BROWSER_SYNC) | |
6 | |
7 #include "chrome/browser/sync/glue/model_associator.h" | 5 #include "chrome/browser/sync/glue/model_associator.h" |
8 | 6 |
9 #include <stack> | 7 #include <stack> |
10 | 8 |
11 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
12 #include "base/task.h" | 10 #include "base/task.h" |
13 #include "chrome/browser/bookmarks/bookmark_model.h" | 11 #include "chrome/browser/bookmarks/bookmark_model.h" |
14 #include "chrome/browser/sync/engine/syncapi.h" | 12 #include "chrome/browser/sync/engine/syncapi.h" |
15 #include "chrome/browser/sync/profile_sync_service.h" | 13 #include "chrome/browser/sync/profile_sync_service.h" |
16 | 14 |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 return false; | 500 return false; |
503 } | 501 } |
504 child_id = child_node.GetSuccessorId(); | 502 child_id = child_node.GetSuccessorId(); |
505 } | 503 } |
506 } | 504 } |
507 DCHECK(dfs_stack.empty()); | 505 DCHECK(dfs_stack.empty()); |
508 return true; | 506 return true; |
509 } | 507 } |
510 | 508 |
511 } // namespace browser_sync | 509 } // namespace browser_sync |
512 | |
513 #endif // defined(BROWSER_SYNC) | |
OLD | NEW |