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

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

Issue 400073003: Finish decoupling sync and invalidations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix GN Created 6 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_INVALIDATION_SINGLE_OBJECT_INVALIDATION_SET_H_ 5 #ifndef COMPONENTS_INVALIDATION_SINGLE_OBJECT_INVALIDATION_SET_H_
6 #define COMPONENTS_INVALIDATION_SINGLE_OBJECT_INVALIDATION_SET_H_ 6 #define COMPONENTS_INVALIDATION_SINGLE_OBJECT_INVALIDATION_SET_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "components/invalidation/invalidation.h"
11 #include "components/invalidation/invalidation_export.h" 12 #include "components/invalidation/invalidation_export.h"
12 #include "sync/internal_api/public/base/invalidation.h" 13 #include "components/invalidation/invalidation_util.h"
13 #include "sync/internal_api/public/base/invalidation_util.h"
14 14
15 namespace base { 15 namespace base {
16 class ListValue; 16 class ListValue;
17 } // namespace base 17 } // namespace base
18 18
19 namespace syncer { 19 namespace syncer {
20 20
21 // Holds a list of invalidations that all share the same Object ID. 21 // Holds a list of invalidations that all share the same Object ID.
22 // 22 //
23 // The list is kept sorted by version to make it easier to perform common 23 // The list is kept sorted by version to make it easier to perform common
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 scoped_ptr<base::ListValue> ToValue() const; 55 scoped_ptr<base::ListValue> ToValue() const;
56 bool ResetFromValue(const base::ListValue& list); 56 bool ResetFromValue(const base::ListValue& list);
57 57
58 private: 58 private:
59 InvalidationsSet invalidations_; 59 InvalidationsSet invalidations_;
60 }; 60 };
61 61
62 } // syncer 62 } // syncer
63 63
64 #endif // COMPONENTS_INVALIDATION_SINGLE_OBJECT_INVALIDATION_SET_H_ 64 #endif // COMPONENTS_INVALIDATION_SINGLE_OBJECT_INVALIDATION_SET_H_
OLDNEW
« no previous file with comments | « components/invalidation/registration_manager_unittest.cc ('k') | components/invalidation/single_object_invalidation_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698