// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_COMPOSE_COMPOSE_TEXT_USAGE_LOGGER_H_ #define CHROME_BROWSER_COMPOSE_COMPOSE_TEXT_USAGE_LOGGER_H_ #include "components/autofill/core/browser/autofill_manager.h" #include "components/autofill/core/common/signatures.h" #include "content/public/browser/document_user_data.h" namespace compose { // Logs UKM for text writing use on web pages. There is one instance of this // per page. class ComposeTextUsageLogger : public content::DocumentUserData<ComposeTextUsageLogger>, public autofill::AutofillManager::Observer { … }; } // namespace compose #endif // CHROME_BROWSER_COMPOSE_COMPOSE_TEXT_USAGE_LOGGER_H_