ExtensionInstallDialogView: fix scrolling behavior on Views (Win,Linux)
[chromium-blink-merge.git] / components / update_client / ping_manager.h
blob664142bdd3b0702fc8e39d9a7a6ef5c93d2e75b9
1 // Copyright 2014 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 COMPONENTS_UPDATE_CLIENT_PING_MANAGER_H_
6 #define COMPONENTS_UPDATE_CLIENT_PING_MANAGER_H_
8 #include "base/macros.h"
10 namespace update_client {
12 class Configurator;
13 struct CrxUpdateItem;
15 // Provides an event sink for completion events from ComponentUpdateService
16 // and sends fire-and-forget pings when handling these events.
17 class PingManager {
18 public:
19 explicit PingManager(const Configurator& config);
20 virtual ~PingManager();
22 virtual void OnUpdateComplete(const CrxUpdateItem* item);
24 private:
25 const Configurator& config_;
27 DISALLOW_COPY_AND_ASSIGN(PingManager);
30 } // namespace update_client
32 #endif // COMPONENTS_UPDATE_CLIENT_PING_MANAGER_H_