OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_ADS_DETECTION_H_ | |
6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_ADS_DETECTION_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/strings/string_piece_forward.h" | |
11 | |
12 class GURL; | |
13 | |
14 // Uses various heuristics to determine if a given frame hosts an advertisment. | |
15 bool IsAdFrame(base::StringPiece frame_name, const GURL& frame_url); | |
Łukasz Anforowicz
2017/06/30 15:28:37
This function used to be hidden inside an anonymou
| |
16 | |
17 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_ADS_DETECTION_H_ | |
OLD | NEW |