// Copyright 2013 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_INVALIDATION_IMPL_FAKE_INVALIDATION_SERVICE_H_ #define COMPONENTS_INVALIDATION_IMPL_FAKE_INVALIDATION_SERVICE_H_ #include <memory> #include <optional> #include <string> #include "components/invalidation/impl/invalidator_registrar_with_memory.h" #include "components/invalidation/public/invalidation_service.h" #include "components/prefs/testing_pref_service.h" namespace invalidation { class Invalidation; // An InvalidationService that emits invalidations only when // its EmitInvalidationForTest method is called (and a handler is interested // in the topic of that invalidation). class FakeInvalidationService : public InvalidationService { … }; } // namespace invalidation #endif // COMPONENTS_INVALIDATION_IMPL_FAKE_INVALIDATION_SERVICE_H_