| 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 // Wraps PrefService in an InvalidationStateTracker to allow SyncNotifiers | 5 // Wraps PrefService in an InvalidationStateTracker to allow SyncNotifiers |
| 6 // to use PrefService as persistence for invalidation state. It is not thread | 6 // to use PrefService as persistence for invalidation state. It is not thread |
| 7 // safe, and lives on the UI thread. | 7 // safe, and lives on the UI thread. |
| 8 | 8 |
| 9 #ifndef CHROME_BROWSER_INVALIDATION_INVALIDATOR_STORAGE_H_ | 9 #ifndef COMPONENTS_INVALIDATION_INVALIDATOR_STORAGE_H_ |
| 10 #define CHROME_BROWSER_INVALIDATION_INVALIDATOR_STORAGE_H_ | 10 #define COMPONENTS_INVALIDATION_INVALIDATOR_STORAGE_H_ |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
| 15 #include "sync/notifier/invalidation_state_tracker.h" | 15 #include "sync/notifier/invalidation_state_tracker.h" |
| 16 #include "sync/notifier/unacked_invalidation_set.h" | 16 #include "sync/notifier/unacked_invalidation_set.h" |
| 17 | 17 |
| 18 class PrefService; | 18 class PrefService; |
| 19 | 19 |
| 20 namespace base { | 20 namespace base { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 base::ThreadChecker thread_checker_; | 70 base::ThreadChecker thread_checker_; |
| 71 | 71 |
| 72 PrefService* const pref_service_; | 72 PrefService* const pref_service_; |
| 73 | 73 |
| 74 DISALLOW_COPY_AND_ASSIGN(InvalidatorStorage); | 74 DISALLOW_COPY_AND_ASSIGN(InvalidatorStorage); |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 } // namespace invalidation | 77 } // namespace invalidation |
| 78 | 78 |
| 79 #endif // CHROME_BROWSER_INVALIDATION_INVALIDATOR_STORAGE_H_ | 79 #endif // COMPONENTS_INVALIDATION_INVALIDATOR_STORAGE_H_ |
| OLD | NEW |