| Index: components/update_client/ping_manager.h
|
| diff --git a/components/update_client/ping_manager.h b/components/update_client/ping_manager.h
|
| index c907e7df2bbf0143158145926972cfae84180527..3021a8b7bfaf6f95bc12932b650126d769778b5f 100644
|
| --- a/components/update_client/ping_manager.h
|
| +++ b/components/update_client/ping_manager.h
|
| @@ -7,11 +7,12 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| +#include "base/threading/thread_checker.h"
|
|
|
| namespace update_client {
|
|
|
| class Configurator;
|
| -struct CrxUpdateItem;
|
| +class Component;
|
|
|
| // Sends fire-and-forget pings.
|
| class PingManager {
|
| @@ -23,9 +24,11 @@ class PingManager {
|
| // ping is queued up and may be sent in the future, or false, if an error
|
| // occurs right away. The ping itself is not persisted and it will be
|
| // discarded if it can't be sent for any reason.
|
| - virtual bool SendPing(const CrxUpdateItem* item);
|
| + virtual bool SendPing(const Component& component);
|
|
|
| private:
|
| + base::ThreadChecker thread_checker_;
|
| +
|
| const scoped_refptr<Configurator> config_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PingManager);
|
|
|