OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_SYNC_GLUE_DUMMY_INVALIDATOR_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_DUMMY_INVALIDATOR_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_DUMMY_INVALIDATOR_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_DUMMY_INVALIDATOR_H_ |
7 | 7 |
8 #include "sync/notifier/invalidator.h" | 8 #include "sync/notifier/invalidator.h" |
9 | 9 |
10 // A fake invalidator that does nothing, and stays in a "transient" error state. | 10 // A fake invalidator that does nothing, and stays in a "transient" error state. |
(...skipping 14 matching lines...) Expand all Loading... |
25 virtual void UpdateCredentials( | 25 virtual void UpdateCredentials( |
26 const std::string& email, const std::string& token) OVERRIDE; | 26 const std::string& email, const std::string& token) OVERRIDE; |
27 virtual void SendInvalidation( | 27 virtual void SendInvalidation( |
28 const syncer::ObjectIdInvalidationMap& invalidation_map) OVERRIDE; | 28 const syncer::ObjectIdInvalidationMap& invalidation_map) OVERRIDE; |
29 | 29 |
30 private: | 30 private: |
31 DISALLOW_COPY_AND_ASSIGN(DummyInvalidator); | 31 DISALLOW_COPY_AND_ASSIGN(DummyInvalidator); |
32 }; | 32 }; |
33 | 33 |
34 #endif // CHROME_BROWSER_SYNC_GLUE_DUMMY_INVALIDATOR_H_ | 34 #endif // CHROME_BROWSER_SYNC_GLUE_DUMMY_INVALIDATOR_H_ |
OLD | NEW |