Home | History | Annotate | Download | only in options
      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.
      4 
      5 #ifndef CHROME_BROWSER_UI_OPTIONS_OPTIONS_UTIL_H_
      6 #define CHROME_BROWSER_UI_OPTIONS_OPTIONS_UTIL_H_
      7 
      8 #include "base/basictypes.h"
      9 
     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);
     15 
     16  private:
     17   DISALLOW_IMPLICIT_CONSTRUCTORS(OptionsUtil);
     18 };
     19 
     20 #endif  // CHROME_BROWSER_UI_OPTIONS_OPTIONS_UTIL_H_
     21