Home
last modified time | relevance | path

Searched refs:AckHandle (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/components/invalidation/
Dack_handle.cc19 AckHandle AckHandle::CreateUnique() { in CreateUnique()
23 return AckHandle(base::HexEncode(random_bytes, sizeof(random_bytes)), in CreateUnique()
27 AckHandle AckHandle::InvalidAckHandle() { in InvalidAckHandle()
28 return AckHandle(std::string(), base::Time()); in InvalidAckHandle()
31 bool AckHandle::Equals(const AckHandle& other) const { in Equals()
35 scoped_ptr<base::DictionaryValue> AckHandle::ToValue() const { in ToValue()
43 bool AckHandle::ResetFromValue(const base::DictionaryValue& value) { in ResetFromValue()
56 bool AckHandle::IsValid() const { in IsValid()
60 AckHandle::AckHandle(const std::string& state, base::Time timestamp) in AckHandle() function in syncer::AckHandle
64 AckHandle::~AckHandle() { in ~AckHandle()
Dack_handle.h23 class INVALIDATION_EXPORT AckHandle {
25 static AckHandle CreateUnique();
26 static AckHandle InvalidAckHandle();
28 bool Equals(const AckHandle& other) const;
35 ~AckHandle();
39 AckHandle(const std::string& state, base::Time timestamp);
Dinvalidation_test_util.cc23 class AckHandleEqMatcher : public MatcherInterface<const AckHandle&> {
25 explicit AckHandleEqMatcher(const AckHandle& expected);
27 virtual bool MatchAndExplain(const AckHandle& actual,
33 const AckHandle expected_;
38 AckHandleEqMatcher::AckHandleEqMatcher(const AckHandle& expected) in AckHandleEqMatcher()
42 bool AckHandleEqMatcher::MatchAndExplain(const AckHandle& actual, in MatchAndExplain()
101 void PrintTo(const AckHandle& ack_handle, ::std::ostream* os) { in PrintTo()
108 Matcher<const AckHandle&> Eq(const AckHandle& expected) { in Eq()
Dinvalidation_test_util.h14 class AckHandle; variable
17 void PrintTo(const AckHandle& ack_handle, ::std::ostream* os);
18 ::testing::Matcher<const AckHandle&> Eq(const AckHandle& expected);
Dack_handler.h18 class AckHandle; variable
31 const AckHandle& handle) = 0;
35 const AckHandle& handle) = 0;
Dinvalidation.cc31 return Invalidation(id, false, version, payload, AckHandle::CreateUnique()); in Init()
37 id, true, kInvalidVersion, std::string(), AckHandle::CreateUnique()); in InitUnknownVersion()
67 AckHandle::CreateUnique())); in InitFromValue()
86 AckHandle::CreateUnique())); in InitFromValue()
110 const AckHandle& Invalidation::ack_handle() const { in ack_handle()
171 AckHandle ack_handle) in Invalidation()
Dmock_ack_handler.cc16 AckHandleMatcher(const AckHandle& handle);
19 syncer::AckHandle handle_;
22 AckHandleMatcher::AckHandleMatcher(const AckHandle& handle) in AckHandleMatcher()
87 const AckHandle& handle) { in Acknowledge()
106 const AckHandle& handle) { in Drop()
Dmock_ack_handler.h59 const AckHandle& handle) OVERRIDE;
62 const AckHandle& handle) OVERRIDE;
67 AckHandle,
Dsync_invalidation_listener.h99 const invalidation::AckHandle& ack_handle) OVERRIDE; in NON_EXPORTED_BASE()
103 const invalidation::AckHandle& ack_handle) OVERRIDE; in NON_EXPORTED_BASE()
106 const invalidation::AckHandle& ack_handle) OVERRIDE; in NON_EXPORTED_BASE()
127 const syncer::AckHandle& handle) OVERRIDE; in NON_EXPORTED_BASE()
130 const syncer::AckHandle& handle) OVERRIDE; in NON_EXPORTED_BASE()
Dinvalidation.h52 const AckHandle& ack_handle() const;
101 AckHandle ack_handle);
118 AckHandle ack_handle_;
Dunacked_invalidation_set.h28 class AckHandle; variable
87 void Acknowledge(const AckHandle& handle);
92 void Drop(const AckHandle& handle);
Dsync_invalidation_listener.cc123 const invalidation::AckHandle& ack_handle) { in Invalidate()
149 const invalidation::AckHandle& ack_handle) { in InvalidateUnknownVersion()
167 const invalidation::AckHandle& ack_handle) { in InvalidateAll()
297 const syncer::AckHandle& handle) { in Acknowledge()
314 const syncer::AckHandle& handle) { in Drop()
Dsync_invalidation_listener_unittest.cc29 using invalidation::AckHandle;
47 bool operator()(const AckHandle& lhs, const AckHandle& rhs) const { in operator ()()
52 typedef std::set<AckHandle, AckHandleLessThan> AckHandleSet;
69 bool IsAckedHandle(const AckHandle& ack_handle) const { in IsAckedHandle()
120 virtual void Acknowledge(const AckHandle& ack_handle) OVERRIDE { in Acknowledge()
405 const AckHandle ack_handle("fakedata"); in FireInvalidate()
413 const AckHandle ack_handle("fakedata_unknown"); in FireInvalidateUnknownVersion()
422 const AckHandle ack_handle("fakedata_all"); in FireInvalidateAll()
Dunacked_invalidation_set.cc85 void UnackedInvalidationSet::Acknowledge(const AckHandle& handle) { in Acknowledge()
104 void UnackedInvalidationSet::Drop(const AckHandle& handle) { in Drop()
Dunacked_invalidation_set_unittest.cc148 AckHandle inv1_handle = inv1.ack_handle(); in TEST_F()
171 AckHandle inv1_handle = inv1.ack_handle(); in TEST_F()
Dregistration_manager_unittest.cc69 virtual void Acknowledge(const invalidation::AckHandle& handle) OVERRIDE {} in Acknowledge()