OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 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_NET_TRAFFIC_ANNOTATION_NETWORK_TRAFFIC_ANNOTATION_CHECKER
_H_ |
| 6 #define CHROME_BROWSER_NET_TRAFFIC_ANNOTATION_NETWORK_TRAFFIC_ANNOTATION_CHECKER
_H_ |
| 7 |
| 8 #include <map> |
| 9 |
| 10 #include "net/traffic_annotation/network_traffic_annotation.h" |
| 11 |
| 12 class NetworkTrafficAnnotationChecker { |
| 13 public: |
| 14 NetworkTrafficAnnotationChecker(); |
| 15 ~NetworkTrafficAnnotationChecker(); |
| 16 |
| 17 void CheckAnnotation( |
| 18 const net::NetworkTrafficAnnotationTag& traffic_annotation); |
| 19 |
| 20 private: |
| 21 std::map<const char*, const char*> visited_annotations_; |
| 22 }; |
| 23 |
| 24 #endif // CHROME_BROWSER_NET_TRAFFIC_ANNOTATION_NETWORK_TRAFFIC_ANNOTATION_CHEC
KER_H_ |
OLD | NEW |