Index: ios/chrome/browser/physical_web/physical_web_local_state.h |
diff --git a/ios/chrome/browser/physical_web/physical_web_local_state.h b/ios/chrome/browser/physical_web/physical_web_local_state.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1156150ca825d58572f7189c65f4ad537139f7d1 |
--- /dev/null |
+++ b/ios/chrome/browser/physical_web/physical_web_local_state.h |
@@ -0,0 +1,21 @@ |
+// 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 IOS_CHROME_BROWSER_PHYSICAL_WEB_PHYSICAL_WEB_LOCAL_STATE_H_ |
+#define IOS_CHROME_BROWSER_PHYSICAL_WEB_PHYSICAL_WEB_LOCAL_STATE_H_ |
+ |
+#import <Foundation/Foundation.h> |
+ |
+class PrefRegistrySimple; |
+ |
+// Maintains all of the local state relevant to the PhysicalWeb feature. Allows |
+// Chrome to surface URLs broadcast by nearby devices. |
+@interface PhysicalWebLocalState : NSObject |
+ |
+// Registers local state preferences related to the Physical Web. |
++ (void)registerLocalState:(PrefRegistrySimple*)registry; |
sdefresne
2016/11/14 16:13:34
Can you change this to a free function? I don't th
mattreynolds
2016/11/14 22:02:52
Done.
|
+ |
+@end |
+ |
+#endif // IOS_CHROME_BROWSER_PHYSICAL_WEB_PHYSICAL_WEB_LOCAL_STATE_H_ |