/external/chromium_org/sync/internal_api/public/base/ |
D | invalidation.cc | 27 Invalidation Invalidation::Init( in Init() 31 return Invalidation(id, false, version, payload, AckHandle::CreateUnique()); in Init() 34 Invalidation Invalidation::InitUnknownVersion( in InitUnknownVersion() 36 return Invalidation(id, true, kInvalidVersion, in InitUnknownVersion() 40 Invalidation Invalidation::InitFromDroppedInvalidation( in InitFromDroppedInvalidation() 41 const Invalidation& dropped) { in InitFromDroppedInvalidation() 42 return Invalidation(dropped.id_, true, kInvalidVersion, in InitFromDroppedInvalidation() 46 scoped_ptr<Invalidation> Invalidation::InitFromValue( in InitFromValue() 54 return scoped_ptr<Invalidation>(); in InitFromValue() 59 return scoped_ptr<Invalidation>(); in InitFromValue() [all …]
|
D | invalidation.h | 26 class SYNC_EXPORT Invalidation { 29 static Invalidation Init( 33 static Invalidation InitUnknownVersion(const invalidation::ObjectId& id); 34 static Invalidation InitFromDroppedInvalidation(const Invalidation& dropped); 35 static scoped_ptr<Invalidation> InitFromValue( 38 ~Invalidation(); 41 bool Equals(const Invalidation& other) const; 98 Invalidation(const invalidation::ObjectId& id,
|
D | object_id_invalidation_map_test_util.cc | 45 InvalidationEqPredicate(const Invalidation& inv1) in InvalidationEqPredicate() 48 bool operator()(const Invalidation& inv2) { in operator ()() 52 const Invalidation& inv1_; 61 std::vector<syncer::Invalidation> expected_invalidations; in MatchAndExplain() 62 std::vector<syncer::Invalidation> actual_invalidations; in MatchAndExplain() 67 std::vector<syncer::Invalidation> expected_only; in MatchAndExplain() 68 std::vector<syncer::Invalidation> actual_only; in MatchAndExplain() 70 for (std::vector<syncer::Invalidation>::iterator it = in MatchAndExplain() 81 for (std::vector<syncer::Invalidation>::iterator it = in MatchAndExplain()
|
D | invalidation_test_util.cc | 57 : public MatcherInterface<const Invalidation&> { 59 explicit InvalidationEqMatcher(const Invalidation& expected); 61 virtual bool MatchAndExplain(const Invalidation& actual, 67 const Invalidation expected_; 73 const Invalidation& expected) : expected_(expected) { in InvalidationEqMatcher() 77 const Invalidation& actual, MatchResultListener* listener) const { in MatchAndExplain() 113 void PrintTo(const Invalidation& inv, ::std::ostream* os) { in PrintTo() 117 Matcher<const Invalidation&> Eq(const Invalidation& expected) { in Eq()
|
D | invalidation_test_util.h | 15 class Invalidation; variable 20 void PrintTo(const Invalidation& invalidation, ::std::ostream* os); 22 ::testing::Matcher<const Invalidation&> Eq(const Invalidation& expected);
|
/external/chromium_org/sync/notifier/ |
D | unacked_invalidation_set_unittest.cc | 45 Invalidation inv1 = Invalidation::Init(kObjectId_, 10, "payload"); in TEST_F() 55 Invalidation inv1 = Invalidation::Init(kObjectId_, 10, "payload"); in TEST_F() 64 Invalidation inv1 = Invalidation::Init(kObjectId_, 10, "payload"); in TEST_F() 65 Invalidation inv2 = Invalidation::InitUnknownVersion(kObjectId_); in TEST_F() 66 Invalidation inv3 = Invalidation::InitUnknownVersion(kObjectId_); in TEST_F() 81 Invalidation inv = Invalidation::Init(kObjectId_, i, "payload"); in TEST_F() 97 Invalidation inv = Invalidation::Init(kObjectId_, i, "payload"); in TEST_F() 115 Invalidation inv = Invalidation::Init(kObjectId_, i, "payload"); in TEST_F() 143 Invalidation inv1 = Invalidation::Init(kObjectId_, 10, "payload"); in TEST_F() 144 Invalidation inv2 = Invalidation::InitUnknownVersion(kObjectId_); in TEST_F() [all …]
|
D | single_object_invalidation_set_unittest.cc | 28 Invalidation inv0 = Invalidation::InitUnknownVersion(kId); in TEST_F() 29 Invalidation inv1 = Invalidation::Init(kId, 1, "one"); in TEST_F() 30 Invalidation inv2 = Invalidation::Init(kId, 5, "five"); in TEST_F() 65 list.Insert(Invalidation::Init(kId, 1, "one")); in TEST_F() 68 list.Insert(Invalidation::InitUnknownVersion(kId)); in TEST_F() 87 list.Insert(Invalidation::Init(kId, 1, "one")); in TEST_F() 98 list.Insert(Invalidation::Init(kId, 1, "one")); in TEST_F() 99 list.Insert(Invalidation::InitUnknownVersion(kId)); in TEST_F()
|
D | invalidator_test_template.h | 138 invalidation_map.Insert(Invalidation::Init(this->id1, 1, "1")); in TYPED_TEST_P() 139 invalidation_map.Insert(Invalidation::Init(this->id2, 2, "2")); in TYPED_TEST_P() 140 invalidation_map.Insert(Invalidation::Init(this->id3, 3, "3")); in TYPED_TEST_P() 155 expected_invalidations.Insert(Invalidation::Init(this->id1, 1, "1")); in TYPED_TEST_P() 156 expected_invalidations.Insert(Invalidation::Init(this->id2, 2, "2")); in TYPED_TEST_P() 167 expected_invalidations.Insert(Invalidation::Init(this->id2, 2, "2")); in TYPED_TEST_P() 168 expected_invalidations.Insert(Invalidation::Init(this->id3, 3, "3")); in TYPED_TEST_P() 240 invalidation_map.Insert(Invalidation::Init(this->id1, 1, "1")); in TYPED_TEST_P() 241 invalidation_map.Insert(Invalidation::Init(this->id2, 2, "2")); in TYPED_TEST_P() 242 invalidation_map.Insert(Invalidation::Init(this->id3, 3, "3")); in TYPED_TEST_P() [all …]
|
D | mock_ack_handler.h | 18 class Invalidation; variable 31 void RegisterInvalidation(Invalidation* invalidation); 35 void RegisterUnsentInvalidation(Invalidation* invalidation); 39 bool IsUnacked(const Invalidation& invalidation) const; 42 bool IsUnsent(const Invalidation& invalidation) const; 53 typedef std::vector<syncer::Invalidation> InvalidationVector;
|
D | mock_ack_handler.cc | 16 bool operator()(const syncer::Invalidation& invalidation) const; 25 const syncer::Invalidation& invalidation) const { in operator ()() 35 void MockAckHandler::RegisterInvalidation(Invalidation* invalidation) { in RegisterInvalidation() 40 void MockAckHandler::RegisterUnsentInvalidation(Invalidation* invalidation) { in RegisterUnsentInvalidation() 44 bool MockAckHandler::IsUnacked(const Invalidation& invalidation) const { in IsUnacked() 53 bool MockAckHandler::IsUnsent(const Invalidation& invalidation) const { in IsUnsent()
|
D | single_object_invalidation_set.cc | 16 void SingleObjectInvalidationSet::Insert(const Invalidation& invalidation) { in Insert() 45 bool operator()(const Invalidation& inv1, const Invalidation& inv2) { in operator ()() 80 const Invalidation& SingleObjectInvalidationSet::back() const { in back() 101 scoped_ptr<Invalidation> invalidation = Invalidation::InitFromValue(*dict); in ResetFromValue()
|
D | invalidation_util.h | 24 class Invalidation; variable 35 class Invalidation; variable 43 bool operator()(const syncer::Invalidation& a, 44 const syncer::Invalidation& b) const; 69 const invalidation::Invalidation& invalidation);
|
D | unacked_invalidation_set.cc | 37 const Invalidation& invalidation) { in Add() 58 Invalidation inv(*it); in ExportInvalidations() 110 Invalidation unknown_version = Invalidation::InitFromDroppedInvalidation(*it); in Drop() 172 scoped_ptr<Invalidation> invalidation = Invalidation::InitFromValue(*dict); in ResetListFromValue() 200 Invalidation unknown_version = Invalidation::InitUnknownVersion(id); in Truncate()
|
D | single_object_invalidation_set.h | 28 typedef std::set<Invalidation, InvalidationVersionLessThan> InvalidationsSet; 35 void Insert(const Invalidation& invalidation); 52 const Invalidation& back() const;
|
D | object_id_invalidation_map.cc | 16 invalidate_all.Insert(Invalidation::InitUnknownVersion(*it)); in InvalidateAll() 37 void ObjectIdInvalidationMap::Insert(const Invalidation& invalidation) { in Insert() 62 std::vector<syncer::Invalidation>* out) const { in GetAllInvalidations() 101 scoped_ptr<Invalidation> invalidation = Invalidation::InitFromValue(*dict); in ResetFromValue()
|
D | sync_invalidation_listener.cc | 122 const invalidation::Invalidation& invalidation, in Invalidate() 139 Invalidation inv = Invalidation::Init(id, invalidation.version(), payload); in Invalidate() 156 Invalidation unknown_version = Invalidation::InitUnknownVersion(object_id); in InvalidateUnknownVersion() 176 Invalidation unknown_version = Invalidation::InitUnknownVersion(*it); in InvalidateAll()
|
D | object_id_invalidation_map.h | 39 void Insert(const Invalidation& invalidation); 50 void GetAllInvalidations(std::vector<syncer::Invalidation>* out) const;
|
D | invalidation_util.cc | 32 const Invalidation& a, in operator ()() 33 const Invalidation& b) const { in operator ()() 122 const invalidation::Invalidation& invalidation) { in InvalidationToString()
|
D | unacked_invalidation_set.h | 43 void Add(const Invalidation& invalidation); 97 typedef std::set<Invalidation, InvalidationVersionLessThan> InvalidationsSet;
|
/external/chromium_org/chrome/browser/extensions/api/push_messaging/ |
D | push_messaging_invalidation_handler_unittest.cc | 108 syncer::Invalidation::Init( in TEST_F() 116 invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion( in TEST_F() 132 invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion( in TEST_F() 137 invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion( in TEST_F() 142 invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion( in TEST_F() 147 invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion( in TEST_F() 152 invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion( in TEST_F() 157 invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion( in TEST_F() 175 map1.Insert(syncer::Invalidation::Init(id0, 5, "5")); in TEST_F() 182 map2.Insert(syncer::Invalidation::InitUnknownVersion(id0)); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/invalidation/ |
D | invalidation_service_test_template.h | 126 invalidation_map.Insert(syncer::Invalidation::Init(this->id1, 1, "1")); in TYPED_TEST_P() 127 invalidation_map.Insert(syncer::Invalidation::Init(this->id2, 2, "2")); in TYPED_TEST_P() 128 invalidation_map.Insert(syncer::Invalidation::Init(this->id3, 3, "3")); in TYPED_TEST_P() 144 expected_invalidations.Insert(syncer::Invalidation::Init(this->id1, 1, "1")); in TYPED_TEST_P() 145 expected_invalidations.Insert(syncer::Invalidation::Init(this->id2, 2, "2")); in TYPED_TEST_P() 156 expected_invalidations.Insert(syncer::Invalidation::Init(this->id2, 2, "2")); in TYPED_TEST_P() 157 expected_invalidations.Insert(syncer::Invalidation::Init(this->id3, 3, "3")); in TYPED_TEST_P() 233 invalidation_map.Insert(syncer::Invalidation::Init(this->id1, 1, "1")); in TYPED_TEST_P() 234 invalidation_map.Insert(syncer::Invalidation::Init(this->id2, 2, "2")); in TYPED_TEST_P() 235 invalidation_map.Insert(syncer::Invalidation::Init(this->id3, 3, "3")); in TYPED_TEST_P() [all …]
|
D | invalidator_storage_unittest.cc | 80 syncer::Invalidation unknown_version_inv = in TEST_F() 81 syncer::Invalidation::InitUnknownVersion(id1); in TEST_F() 82 syncer::Invalidation known_version_inv = in TEST_F() 83 syncer::Invalidation::Init(id1, 314, "payload"); in TEST_F() 89 syncer::Invalidation obj2_inv = in TEST_F() 90 syncer::Invalidation::Init(id2, 1234, "payl\0ad\xff"); in TEST_F()
|
D | fake_invalidation_service.h | 17 class Invalidation; variable 46 void EmitInvalidationForTest(const syncer::Invalidation& invalidation);
|
/external/chromium_org/chrome/browser/policy/cloud/ |
D | cloud_policy_invalidator_unittest.cc | 111 syncer::Invalidation FireInvalidation( 118 syncer::Invalidation FireUnknownVersionInvalidation(PolicyObject object); 132 bool IsUnsent(const syncer::Invalidation& invalidation); 140 bool IsInvalidationAcknowledged(const syncer::Invalidation& invalidation); 303 syncer::Invalidation CloudPolicyInvalidatorTest::FireInvalidation( in FireInvalidation() 307 syncer::Invalidation invalidation = syncer::Invalidation::Init( in FireInvalidation() 315 syncer::Invalidation CloudPolicyInvalidatorTest::FireUnknownVersionInvalidation( in FireUnknownVersionInvalidation() 317 syncer::Invalidation invalidation = syncer::Invalidation::InitUnknownVersion( in FireUnknownVersionInvalidation() 341 const syncer::Invalidation& invalidation) { in IsUnsent() 355 const syncer::Invalidation& invalidation) { in IsInvalidationAcknowledged() [all …]
|
/external/chromium_org/third_party/cacheinvalidation/ |
D | README.chromium | 1 Name: Google Cache Invalidation API 10 This is the API to talk to the Google Cache Invalidation service. 15 Note: If you are rolling forward the Cache Invalidation API version, and want to
|