Index: ios/chrome/browser/physical_web/physical_web_local_state.cc |
diff --git a/ios/chrome/browser/physical_web/physical_web_local_state.cc b/ios/chrome/browser/physical_web/physical_web_local_state.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..98527f87118fa7b638349c0bec24429045399a5c |
--- /dev/null |
+++ b/ios/chrome/browser/physical_web/physical_web_local_state.cc |
@@ -0,0 +1,18 @@ |
+// 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. |
+ |
+#include "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 |