Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / chromeos / policy / fake_affiliated_invalidation_service_provider.h
blobe184c3f1073c7cd3f887c4342f93420af35fc946
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_FAKE_AFFILIATED_INVALIDATION_SERVICE_PROVIDER_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_FAKE_AFFILIATED_INVALIDATION_SERVICE_PROVIDER_H_
8 #include "chrome/browser/chromeos/policy/affiliated_invalidation_service_provider.h"
9 #include "base/macros.h"
11 namespace policy {
13 class FakeAffiliatedInvalidationServiceProvider
14 : public AffiliatedInvalidationServiceProvider {
15 public:
16 FakeAffiliatedInvalidationServiceProvider();
18 // AffiliatedInvalidationServiceProvider:
19 void RegisterConsumer(Consumer* consumer) override;
20 void UnregisterConsumer(Consumer* consumer) override;
21 void Shutdown() override;
23 private:
24 DISALLOW_COPY_AND_ASSIGN(FakeAffiliatedInvalidationServiceProvider);
27 } // namespace policy
29 #endif // CHROME_BROWSER_CHROMEOS_POLICY_FAKE_AFFILIATED_INVALIDATION_SERVICE_PROVIDER_H_