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 "sync/notifier/invalidator_factory.h" | 5 #include "sync/notifier/invalidator_factory.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 ASSERT_TRUE(invalidator.get()); | 76 ASSERT_TRUE(invalidator.get()); |
77 ObjectIdSet ids = ModelTypeSetToObjectIdSet(ModelTypeSet(syncer::BOOKMARKS)); | 77 ObjectIdSet ids = ModelTypeSetToObjectIdSet(ModelTypeSet(syncer::BOOKMARKS)); |
78 invalidator->RegisterHandler(&fake_handler_); | 78 invalidator->RegisterHandler(&fake_handler_); |
79 invalidator->UpdateRegisteredIds(&fake_handler_, ids); | 79 invalidator->UpdateRegisteredIds(&fake_handler_, ids); |
80 invalidator->UnregisterHandler(&fake_handler_); | 80 invalidator->UnregisterHandler(&fake_handler_); |
81 #endif | 81 #endif |
82 } | 82 } |
83 | 83 |
84 } // namespace | 84 } // namespace |
85 } // namespace syncer | 85 } // namespace syncer |
OLD | NEW |