summaryrefslogtreecommitdiff
path: root/chromium/components/gcm_driver/gcm_internals_helper.h
blob: 1ea48b23b8a5c113b1a0395136fee6c886d322d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_GCM_DRIVER_GCM_INTERNALS_HELPER_H_
#define COMPONENTS_GCM_DRIVER_GCM_INTERNALS_HELPER_H_

#include "components/gcm_driver/gcm_client.h"

class PrefService;

namespace base {
class DictionaryValue;
}

namespace gcm {
class GCMProfileService;
}

namespace gcm_driver {

// Sets the GCM infos for the gcm-internals WebUI in |results|.
void SetGCMInternalsInfo(const gcm::GCMClient::GCMStatistics* stats,
                         gcm::GCMProfileService* profile_service,
                         PrefService* prefs,
                         base::DictionaryValue* results);

}  // namespace gcm_driver

#endif  // COMPONENTS_GCM_DRIVER_GCM_INTERNALS_HELPER_H_