// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_SYNC_TEST_TRACKABLE_MOCK_INVALIDATION_H_ #define COMPONENTS_SYNC_TEST_TRACKABLE_MOCK_INVALIDATION_H_ #include <stdint.h> #include <string> #include "base/memory/raw_ptr.h" #include "components/sync/test/mock_invalidation.h" namespace syncer { class MockInvalidationTracker; // A variant of MockInvalidation that supports acknowledgements. // // With the help of a MockInvalidationTracker, this can be used to test // sync's use of the Drop() and Acknowledge() methods. class TrackableMockInvalidation : public MockInvalidation { … }; } // namespace syncer #endif // COMPONENTS_SYNC_TEST_TRACKABLE_MOCK_INVALIDATION_H_