gcm_internals_helper.h 732 B

123456789101112131415161718192021222324252627
  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. #ifndef COMPONENTS_GCM_DRIVER_GCM_INTERNALS_HELPER_H_
  5. #define COMPONENTS_GCM_DRIVER_GCM_INTERNALS_HELPER_H_
  6. #include "base/values.h"
  7. #include "components/gcm_driver/gcm_client.h"
  8. class PrefService;
  9. namespace gcm {
  10. class GCMProfileService;
  11. }
  12. namespace gcm_driver {
  13. // Returns the GCM infos for the gcm-internals WebUI.
  14. base::Value::Dict SetGCMInternalsInfo(
  15. const gcm::GCMClient::GCMStatistics* stats,
  16. gcm::GCMProfileService* profile_service,
  17. PrefService* prefs);
  18. } // namespace gcm_driver
  19. #endif // COMPONENTS_GCM_DRIVER_GCM_INTERNALS_HELPER_H_