Index: ios/chrome/app/startup/register_experimental_settings.h |
diff --git a/ios/chrome/app/startup/register_experimental_settings.h b/ios/chrome/app/startup/register_experimental_settings.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..725023a3d55b811ded49cc08ce6cd805b90b282a |
--- /dev/null |
+++ b/ios/chrome/app/startup/register_experimental_settings.h |
@@ -0,0 +1,20 @@ |
+// 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_APP_STARTUP_REGISTER_EXPERIMENTAL_SETTINGS_H_ |
+#define IOS_CHROME_APP_STARTUP_REGISTER_EXPERIMENTAL_SETTINGS_H_ |
+ |
+#import <UIKit/UIKit.h> |
+ |
+@interface RegisterExperimentalSettings : NSObject |
+ |
+// Registers default values for experimental settings (Application Preferences). |
+// Experimental keys removed from the Settings.bundle are automatically removed |
+// from the UserDefaults. |
++ (void)registerExperimentalSettingsWithUserDefaults: |
+ (NSUserDefaults*)userDefaults |
+ bundle:(NSBundle*)bundle; |
+ |
+@end |
+#endif // IOS_CHROME_APP_STARTUP_REGISTER_EXPERIMENTAL_SETTINGS_H_ |