// Copyright 2024 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_LANGUAGE_DETECTION_CONTENT_RENDERER_LANGUAGE_DETECTION_AGENT_H_ #define COMPONENTS_LANGUAGE_DETECTION_CONTENT_RENDERER_LANGUAGE_DETECTION_AGENT_H_ #include "base/memory/weak_ptr.h" #include "components/language_detection/content/common/language_detection.mojom.h" #include "content/public/renderer/render_frame_observer.h" #include "mojo/public/cpp/bindings/remote.h" namespace language_detection { // This class deals with language detection. // There is one LanguageDetectionAgent per RenderView. class LanguageDetectionAgent : public content::RenderFrameObserver { … }; } // namespace language_detection #endif // COMPONENTS_LANGUAGE_DETECTION_CONTENT_RENDERER_LANGUAGE_DETECTION_AGENT_H_