OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/services/gcm/gcm_product_util.h" | 5 #include "chrome/browser/gcm/gcm_product_util.h" |
6 | 6 |
7 #include "base/strings/string_piece.h" | 7 #include "base/strings/string_piece.h" |
8 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
9 #include "chrome/common/chrome_version.h" | 9 #include "chrome/common/chrome_version.h" |
10 #include "chrome/common/pref_names.h" | 10 #include "chrome/common/pref_names.h" |
11 #include "components/pref_registry/pref_registry_syncable.h" | 11 #include "components/pref_registry/pref_registry_syncable.h" |
12 #include "components/prefs/pref_registry_simple.h" | 12 #include "components/prefs/pref_registry_simple.h" |
13 #include "components/prefs/pref_service.h" | 13 #include "components/prefs/pref_service.h" |
14 #include "components/version_info/version_info.h" | 14 #include "components/version_info/version_info.h" |
15 | 15 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 void RegisterPrefs(PrefRegistrySimple* registry) { | 48 void RegisterPrefs(PrefRegistrySimple* registry) { |
49 registry->RegisterStringPref(prefs::kGCMProductCategoryForSubtypes, | 49 registry->RegisterStringPref(prefs::kGCMProductCategoryForSubtypes, |
50 std::string() /* default_value */); | 50 std::string() /* default_value */); |
51 } | 51 } |
52 | 52 |
53 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { | 53 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
54 RegisterPrefs(registry); | 54 RegisterPrefs(registry); |
55 } | 55 } |
56 | 56 |
57 } // namespace gcm | 57 } // namespace gcm |
OLD | NEW |