// 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. // // PhishingVisualFeatureExtractor handles capturing images from the renderer // frame. Once the renderer frame is captured and stored into cc:PaintRecord, a // SkBitmap will be created, which will then be used for producing the image // embedding feature vector. #ifndef COMPONENTS_SAFE_BROWSING_CONTENT_RENDERER_PHISHING_CLASSIFIER_PHISHING_VISUAL_FEATURE_EXTRACTOR_H_ #define COMPONENTS_SAFE_BROWSING_CONTENT_RENDERER_PHISHING_CLASSIFIER_PHISHING_VISUAL_FEATURE_EXTRACTOR_H_ #include "base/functional/callback.h" #include "base/memory/weak_ptr.h" #include "cc/paint/paint_recorder.h" #include "third_party/blink/public/web/web_local_frame.h" #include "third_party/skia/include/core/SkBitmap.h" namespace safe_browsing { class PhishingVisualFeatureExtractor { … }; } // namespace safe_browsing #endif // COMPONENTS_SAFE_BROWSING_CONTENT_RENDERER_PHISHING_CLASSIFIER_PHISHING_VISUAL_FEATURE_EXTRACTOR_H_