OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_NAVIGATION_OBSERVER_MANAGER_H
_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_NAVIGATION_OBSERVER_MANAGER_H
_ |
6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_NAVIGATION_OBSERVER_MANAGER_H
_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_NAVIGATION_OBSERVER_MANAGER_H
_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include "base/feature_list.h" | 9 #include "base/feature_list.h" |
10 #include "base/supports_user_data.h" | 10 #include "base/supports_user_data.h" |
11 #include "chrome/common/safe_browsing/csd.pb.h" | 11 #include "components/safe_browsing/csd.pb.h" |
12 #include "content/public/browser/web_contents_observer.h" | 12 #include "content/public/browser/web_contents_observer.h" |
13 #include "third_party/protobuf/src/google/protobuf/repeated_field.h" | 13 #include "third_party/protobuf/src/google/protobuf/repeated_field.h" |
14 #include "url/gurl.h" | 14 #include "url/gurl.h" |
15 | 15 |
16 class Profile; | 16 class Profile; |
17 | 17 |
18 namespace safe_browsing { | 18 namespace safe_browsing { |
19 | 19 |
20 class SafeBrowsingNavigationObserver; | 20 class SafeBrowsingNavigationObserver; |
21 struct NavigationEvent; | 21 struct NavigationEvent; |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 // in URLChainEntry in ClientDownloadRequest. | 266 // in URLChainEntry in ClientDownloadRequest. |
267 HostToIpMap host_to_ip_map_; | 267 HostToIpMap host_to_ip_map_; |
268 | 268 |
269 base::OneShotTimer cleanup_timer_; | 269 base::OneShotTimer cleanup_timer_; |
270 | 270 |
271 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingNavigationObserverManager); | 271 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingNavigationObserverManager); |
272 }; | 272 }; |
273 } // namespace safe_browsing | 273 } // namespace safe_browsing |
274 | 274 |
275 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_NAVIGATION_OBSERVER_MANAGE
R_H_ | 275 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_NAVIGATION_OBSERVER_MANAGE
R_H_ |
OLD | NEW |