| OLD | NEW |
| 1 // Copyright (c) 2011 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 "chrome/browser/sync/engine/model_safe_worker.h" | 5 #include "sync/engine/model_safe_worker.h" |
| 6 | 6 |
| 7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
| 8 #include "base/values.h" | 8 #include "base/values.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| 11 namespace browser_sync { | 11 namespace browser_sync { |
| 12 namespace { | 12 namespace { |
| 13 | 13 |
| 14 class ModelSafeWorkerTest : public ::testing::Test { | 14 class ModelSafeWorkerTest : public ::testing::Test { |
| 15 }; | 15 }; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 46 routing_info[syncable::PREFERENCES] = GROUP_DB; | 46 routing_info[syncable::PREFERENCES] = GROUP_DB; |
| 47 const syncable::ModelTypeSet expected_types( | 47 const syncable::ModelTypeSet expected_types( |
| 48 syncable::BOOKMARKS, | 48 syncable::BOOKMARKS, |
| 49 syncable::NIGORI, | 49 syncable::NIGORI, |
| 50 syncable::PREFERENCES); | 50 syncable::PREFERENCES); |
| 51 EXPECT_TRUE(GetRoutingInfoTypes(routing_info).Equals(expected_types)); | 51 EXPECT_TRUE(GetRoutingInfoTypes(routing_info).Equals(expected_types)); |
| 52 } | 52 } |
| 53 | 53 |
| 54 } // namespace | 54 } // namespace |
| 55 } // namespace browser_sync | 55 } // namespace browser_sync |
| OLD | NEW |