Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(515)

Side by Side Diff: components/invalidation/invalidator_storage.h

Issue 288353003: Componentize invalidator storage + preferences (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « components/invalidation/invalidation_prefs.cc ('k') | components/invalidation/invalidator_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698