// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_CONSENT_AUDITOR_CONSENT_AUDITOR_H_ #define COMPONENTS_CONSENT_AUDITOR_CONSENT_AUDITOR_H_ #include "base/memory/weak_ptr.h" #include "components/keyed_service/core/keyed_service.h" #include "components/sync/model/data_type_controller_delegate.h" #include "components/sync/protocol/user_consent_types.pb.h" #include "google_apis/gaia/core_account_id.h" namespace consent_auditor { // Feature for which a consent moment is to be recorded. // // This enum is used in histograms. Entries should not be renumbered and // numeric values should never be reused. // // A Java counterpart will be generated for this enum. // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.consent_auditor // GENERATED_JAVA_CLASS_NAME_OVERRIDE: ConsentAuditorFeature enum class Feature { … }; // Whether a consent is given or not given. // // A Java counterpart will be generated for this enum. // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.consent_auditor enum class ConsentStatus { … }; // TODO(markusheintz): Document this class. class ConsentAuditor : public KeyedService { … }; } // namespace consent_auditor #endif // COMPONENTS_CONSENT_AUDITOR_CONSENT_AUDITOR_H_