12345678910111213141516171819202122 |
- // Copyright 2020 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 ANDROID_WEBVIEW_BROWSER_METRICS_AW_METRICS_SERVICE_ACCESSOR_H_
- #define ANDROID_WEBVIEW_BROWSER_METRICS_AW_METRICS_SERVICE_ACCESSOR_H_
- #include "components/metrics/metrics_service_accessor.h"
- namespace android_webview {
- // This class limits and documents access to metrics service helper methods.
- // Since these methods are private, each user has to be explicitly declared
- // as a 'friend' below.
- class AwMetricsServiceAccessor : public metrics::MetricsServiceAccessor {
- private:
- friend class AwBrowserMainParts;
- };
- } // namespace android_webview
- #endif // ANDROID_WEBVIEW_BROWSER_METRICS_AW_METRICS_SERVICE_ACCESSOR_H_
|