Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / options / options_util.h
blobc1bc910afa270b4f8443e1a301237f2b2c47f1c7
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_OPTIONS_OPTIONS_UTIL_H_
6 #define CHROME_BROWSER_UI_OPTIONS_OPTIONS_UTIL_H_
8 #include "base/basictypes.h"
10 class OptionsUtil {
11 public:
12 // Try to make the the crash stats consent and the metrics upload
13 // permission match |enabled|, returns the actual enabled setting.
14 static bool ResolveMetricsReportingEnabled(bool enabled);
16 private:
17 DISALLOW_IMPLICIT_CONSTRUCTORS(OptionsUtil);
20 #endif // CHROME_BROWSER_UI_OPTIONS_OPTIONS_UTIL_H_