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

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

Issue 387733004: Move sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (GN) Comment out dependency on internal target 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 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 #include "sync/notifier/single_object_invalidation_set.h" 5 #include "components/invalidation/single_object_invalidation_set.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "sync/notifier/invalidation_util.h" 8 #include "sync/internal_api/public/base/invalidation_util.h"
9 9
10 namespace syncer { 10 namespace syncer {
11 11
12 SingleObjectInvalidationSet::SingleObjectInvalidationSet() {} 12 SingleObjectInvalidationSet::SingleObjectInvalidationSet() {}
13 13
14 SingleObjectInvalidationSet::~SingleObjectInvalidationSet() {} 14 SingleObjectInvalidationSet::~SingleObjectInvalidationSet() {}
15 15
16 void SingleObjectInvalidationSet::Insert(const Invalidation& invalidation) { 16 void SingleObjectInvalidationSet::Insert(const Invalidation& invalidation) {
17 invalidations_.insert(invalidation); 17 invalidations_.insert(invalidation);
18 } 18 }
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 if (!invalidation) { 106 if (!invalidation) {
107 DLOG(WARNING) << "Failed to parse invalidation at index " << i; 107 DLOG(WARNING) << "Failed to parse invalidation at index " << i;
108 return false; 108 return false;
109 } 109 }
110 invalidations_.insert(*invalidation); 110 invalidations_.insert(*invalidation);
111 } 111 }
112 return true; 112 return true;
113 } 113 }
114 114
115 } // namespace syncer 115 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698