summaryrefslogtreecommitdiffstats
path: root/chrome/browser/content_settings/web_site_settings_uma_util.h
blob: 4f4d4483dd306117c78c832ab97dd08b298356e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2015 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_CONTENT_SETTINGS_WEB_SITE_SETTINGS_UMA_UTIL_H_
#define CHROME_BROWSER_CONTENT_SETTINGS_WEB_SITE_SETTINGS_UMA_UTIL_H_

#include "base/logging.h"
#include "base/macros.h"
#include "components/content_settings/core/common/content_settings.h"

class WebSiteSettingsUmaUtil {
 public:
  static void LogPermissionChange(ContentSettingsType type,
                                  ContentSetting setting);

 private:
  DISALLOW_IMPLICIT_CONSTRUCTORS(WebSiteSettingsUmaUtil);
};

#endif  // CHROME_BROWSER_CONTENT_SETTINGS_WEB_SITE_SETTINGS_UMA_UTIL_H_