Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: ios/chrome/browser/physical_web/physical_web_preference_manager.h

Issue 2458613004: Record the initial state of the Physical Web at startup (Closed)
Patch Set: changes for olivierrobin@, rohitrao@, sdefresne@ Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/physical_web/physical_web_preference_manager.h
diff --git a/ios/chrome/browser/physical_web/physical_web_preference_manager.h b/ios/chrome/browser/physical_web/physical_web_preference_manager.h
new file mode 100644
index 0000000000000000000000000000000000000000..d9fb4f6465d6bb83496233fc4acb4f322b9ce967
--- /dev/null
+++ b/ios/chrome/browser/physical_web/physical_web_preference_manager.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_PREFERENCE_MANAGER_H_
mattreynolds 2016/11/11 02:36:08 Moved from ios_internal/chrome/browser/physical_we
+#define IOS_CHROME_BROWSER_PHYSICAL_WEB_PHYSICAL_WEB_PREFERENCE_MANAGER_H_
+
+#import <Foundation/Foundation.h>
+
+class PrefRegistrySimple;
+
+// Maintains all of the state relevant to the PhysicalWeb feature. Allows
+// Chrome to surface URLs broadcast by nearby devices.
+@interface PhysicalWebPreferenceManager : NSObject
+
+// Registers preferences related to the Physical Web.
++ (void)registerLocalState:(PrefRegistrySimple*)registry;
+
+@end
+
+#endif // IOS_CHROME_BROWSER_PHYSICAL_WEB_PHYSICAL_WEB_PREFERENCE_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698