blob: ee89602e94dc52f9c33ab5168a995eee116be172 [file] [log] [blame]
droger08025a22015-11-16 10:58:511// 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.
4
5#ifndef COMPONENTS_GCM_DRIVER_GCM_INTERNALS_HELPER_H_
6#define COMPONENTS_GCM_DRIVER_GCM_INTERNALS_HELPER_H_
7
8#include <vector>
9
10#include "components/gcm_driver/gcm_client.h"
11
12class PrefService;
13
14namespace base {
15class DictionaryValue;
16}
17
18namespace gcm {
19class GCMProfileService;
20}
21
22namespace gcm_driver {
23
24// Sets the GCM infos for the gcm-internals WebUI in |results|.
25void SetGCMInternalsInfo(const gcm::GCMClient::GCMStatistics* stats,
26 gcm::GCMProfileService* profile_service,
27 PrefService* prefs,
28 base::DictionaryValue* results);
29
30} // namespace gcm_driver
31
32#endif // COMPONENTS_GCM_DRIVER_GCM_INTERNALS_HELPER_H_