Chromium Code Reviews| Index: chrome/browser/services/gcm/gcm_product_util.h |
| diff --git a/chrome/browser/services/gcm/gcm_product_util.h b/chrome/browser/services/gcm/gcm_product_util.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e5f80e8a1fb30962b50510a478722b9b94a7cb92 |
| --- /dev/null |
| +++ b/chrome/browser/services/gcm/gcm_product_util.h |
| @@ -0,0 +1,24 @@ |
| +// Copyright 2016 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 CHROME_BROWSER_SERVICES_GCM_GCM_PRODUCT_UTIL_H_ |
| +#define CHROME_BROWSER_SERVICES_GCM_GCM_PRODUCT_UTIL_H_ |
| + |
| +#include <string> |
| + |
| +class PrefService; |
| + |
| +namespace user_prefs { |
| +class PrefRegistrySyncable; |
| +} |
| + |
| +namespace gcm { |
| + |
| +std::string CategoryForSubtypes(PrefService* prefs); |
|
Peter Beverloo
2016/07/28 12:34:09
nit: document the method here, not in the implemen
johnme
2016/08/04 17:47:14
Done.
|
| + |
| +void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
| + |
| +} // namespace gcm |
| + |
| +#endif // CHROME_BROWSER_SERVICES_GCM_GCM_PRODUCT_UTIL_H_ |