droger | 08025a2 | 2015-11-16 10:58:51 | [diff] [blame] | 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. |
| 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 | |
| 12 | class PrefService; |
| 13 | |
| 14 | namespace base { |
| 15 | class DictionaryValue; |
| 16 | } |
| 17 | |
| 18 | namespace gcm { |
| 19 | class GCMProfileService; |
| 20 | } |
| 21 | |
| 22 | namespace gcm_driver { |
| 23 | |
| 24 | // Sets the GCM infos for the gcm-internals WebUI in |results|. |
| 25 | void 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_ |