Lines Matching refs:Invalidation
10 #include "components/invalidation/invalidation_logger.h"
11 #include "components/invalidation/invalidation_service.h"
26 class MockInvalidationService : public invalidation::InvalidationService {
38 MOCK_METHOD0(GetInvalidationLogger, invalidation::InvalidationLogger*());
88 expected_ids.insert(invalidation::ObjectId(
89 ipc::invalidation::ObjectSource::CHROME_PUSH_MESSAGING,
91 expected_ids.insert(invalidation::ObjectId(
92 ipc::invalidation::ObjectSource::CHROME_PUSH_MESSAGING,
94 expected_ids.insert(invalidation::ObjectId(
95 ipc::invalidation::ObjectSource::CHROME_PUSH_MESSAGING,
97 expected_ids.insert(invalidation::ObjectId(
98 ipc::invalidation::ObjectSource::CHROME_PUSH_MESSAGING,
111 // A normal invalidation.
113 syncer::Invalidation::Init(
114 invalidation::ObjectId(
115 ipc::invalidation::ObjectSource::CHROME_PUSH_MESSAGING,
120 // An unknown version invalidation.
121 invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion(
122 invalidation::ObjectId(
123 ipc::invalidation::ObjectSource::CHROME_PUSH_MESSAGING,
137 invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion(
138 invalidation::ObjectId(
139 ipc::invalidation::ObjectSource::TEST,
142 invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion(
143 invalidation::ObjectId(
144 ipc::invalidation::ObjectSource::TEST,
147 invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion(
148 invalidation::ObjectId(
149 ipc::invalidation::ObjectSource::CHROME_PUSH_MESSAGING,
152 invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion(
153 invalidation::ObjectId(
154 ipc::invalidation::ObjectSource::CHROME_PUSH_MESSAGING,
157 invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion(
158 invalidation::ObjectId(
159 ipc::invalidation::ObjectSource::CHROME_PUSH_MESSAGING,
162 invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion(
163 invalidation::ObjectId(
164 ipc::invalidation::ObjectSource::CHROME_PUSH_MESSAGING,
171 const invalidation::ObjectId id0(
172 ipc::invalidation::ObjectSource::CHROME_PUSH_MESSAGING,
174 const invalidation::ObjectId id3(
175 ipc::invalidation::ObjectSource::CHROME_PUSH_MESSAGING,
178 // The first received invalidation should get through.
180 map1.Insert(syncer::Invalidation::Init(id0, 5, "5"));
187 map2.Insert(syncer::Invalidation::InitUnknownVersion(id0));
194 map3.Insert(syncer::Invalidation::Init(id0, 4, "4"));
199 map4.Insert(syncer::Invalidation::Init(id0, 6, "6"));
206 map5.Insert(syncer::Invalidation::Init(id3, 1, "1"));