| 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/tools/null_invalidation_state_tracker.h" | 5 #include "components/sync/tools/null_invalidation_state_tracker.h" |
| 6 | 6 |
| 7 #include "base/base64.h" | 7 #include "base/base64.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/location.h" | 10 #include "base/location.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/task_runner.h" | 12 #include "base/task_runner.h" |
| 13 #include "components/invalidation/public/invalidation_util.h" | 13 #include "components/invalidation/public/invalidation_util.h" |
| 14 | 14 |
| 15 namespace syncer { | 15 namespace syncer { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 44 | 44 |
| 45 void NullInvalidationStateTracker::Clear() { | 45 void NullInvalidationStateTracker::Clear() { |
| 46 // We have no members to clear. | 46 // We have no members to clear. |
| 47 } | 47 } |
| 48 | 48 |
| 49 void NullInvalidationStateTracker::SetSavedInvalidations( | 49 void NullInvalidationStateTracker::SetSavedInvalidations( |
| 50 const UnackedInvalidationsMap& states) { | 50 const UnackedInvalidationsMap& states) { |
| 51 // Do nothing. | 51 // Do nothing. |
| 52 } | 52 } |
| 53 | 53 |
| 54 UnackedInvalidationsMap | 54 UnackedInvalidationsMap NullInvalidationStateTracker::GetSavedInvalidations() |
| 55 NullInvalidationStateTracker::GetSavedInvalidations() const { | 55 const { |
| 56 return UnackedInvalidationsMap(); | 56 return UnackedInvalidationsMap(); |
| 57 } | 57 } |
| 58 | 58 |
| 59 } // namespace syncer | 59 } // namespace syncer |
| OLD | NEW |