Chromium Code Reviews| Index: ios/chrome/browser/physical_web/physical_web_local_state.mm |
| diff --git a/ios/chrome/browser/physical_web/physical_web_local_state.mm b/ios/chrome/browser/physical_web/physical_web_local_state.mm |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..76891847ede70eeb43ff25887829c135d0f91936 |
| --- /dev/null |
| +++ b/ios/chrome/browser/physical_web/physical_web_local_state.mm |
| @@ -0,0 +1,18 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
|
sdefresne
2016/11/16 18:00:09
I think this can be changed to be a pure C++ file
mattreynolds
2016/11/16 18:41:57
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#import "ios/chrome/browser/physical_web/physical_web_local_state.h" |
| + |
| +#include "components/prefs/pref_registry_simple.h" |
| +#include "ios/chrome/browser/physical_web/physical_web_constants.h" |
| +#include "ios/chrome/browser/pref_names.h" |
| + |
| +namespace physical_web { |
| + |
| +void RegisterPrefs(PrefRegistrySimple* registry) { |
| + registry->RegisterIntegerPref(prefs::kIosPhysicalWebEnabled, |
| + physical_web::kPhysicalWebOnboarding); |
| +} |
| + |
| +} // namespace physical_web |