summaryrefslogtreecommitdiffstats
path: root/chrome/browser/options_util.h
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-26 18:26:12 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-26 18:26:12 +0000
commita33f62b19e7be82d6784df99ce7cfc5321910a07 (patch)
tree439f5e9376d1cde395f52994399822e982a734b9 /chrome/browser/options_util.h
parentdaccbce9086a33e84f1eaec42b9781e7f137fa8a (diff)
downloadchromium_src-a33f62b19e7be82d6784df99ce7cfc5321910a07.zip
chromium_src-a33f62b19e7be82d6784df99ce7cfc5321910a07.tar.gz
chromium_src-a33f62b19e7be82d6784df99ce7cfc5321910a07.tar.bz2
move the ResetToDefault function for prefs to chrome/browser/options_util
BUG=11507 Review URL: http://codereview.chromium.org/147190 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19390 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/options_util.h')
-rw-r--r--chrome/browser/options_util.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/chrome/browser/options_util.h b/chrome/browser/options_util.h
new file mode 100644
index 0000000..2d9f827
--- /dev/null
+++ b/chrome/browser/options_util.h
@@ -0,0 +1,20 @@
+// Copyright (c) 2009 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 CHROME_BROWSER_OPTIONS_UTIL_H_
+#define CHROME_BROWSER_OPTIONS_UTIL_H_
+
+#include "base/basictypes.h"
+
+class Profile;
+
+class OptionsUtil {
+ public:
+ // Resets all prefs to their default values.
+ static void ResetToDefaults(Profile* profile);
+
+ DISALLOW_IMPLICIT_CONSTRUCTORS(OptionsUtil);
+};
+
+#endif // CHROME_BROWSER_OPTIONS_UTIL_H_