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

Unified Diff: ios/chrome/app/startup/register_experimental_settings.h

Issue 2580363002: Upstream Chrome on iOS source code [1/11]. (Closed)
Patch Set: Created 4 years 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/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_
« no previous file with comments | « ios/chrome/app/startup/provider_registration.mm ('k') | ios/chrome/app/startup/register_experimental_settings.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698