| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_WEB_SITE_SETTINGS_UMA_UTIL_H_ | 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_WEB_SITE_SETTINGS_UMA_UTIL_H_ |
| 6 #define CHROME_BROWSER_CONTENT_SETTINGS_WEB_SITE_SETTINGS_UMA_UTIL_H_ | 6 #define CHROME_BROWSER_CONTENT_SETTINGS_WEB_SITE_SETTINGS_UMA_UTIL_H_ |
| 7 | 7 |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/macros.h" |
| 9 #include "components/content_settings/core/common/content_settings.h" | 10 #include "components/content_settings/core/common/content_settings.h" |
| 10 | 11 |
| 11 class WebSiteSettingsUmaUtil { | 12 class WebSiteSettingsUmaUtil { |
| 12 public: | 13 public: |
| 13 static void LogPermissionChange(ContentSettingsType type, | 14 static void LogPermissionChange(ContentSettingsType type, |
| 14 ContentSetting setting); | 15 ContentSetting setting); |
| 15 | 16 |
| 16 private: | 17 private: |
| 17 DISALLOW_IMPLICIT_CONSTRUCTORS(WebSiteSettingsUmaUtil); | 18 DISALLOW_IMPLICIT_CONSTRUCTORS(WebSiteSettingsUmaUtil); |
| 18 }; | 19 }; |
| 19 | 20 |
| 20 #endif // CHROME_BROWSER_CONTENT_SETTINGS_WEB_SITE_SETTINGS_UMA_UTIL_H_ | 21 #endif // CHROME_BROWSER_CONTENT_SETTINGS_WEB_SITE_SETTINGS_UMA_UTIL_H_ |
| OLD | NEW |