Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Side by Side Diff: chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "content/public/browser/notification_observer.h" 8 #include "content/public/browser/notification_observer.h"
9 #include "content/public/browser/notification_registrar.h" 9 #include "content/public/browser/notification_registrar.h"
10 #include "content/public/browser/web_contents_observer.h" 10 #include "content/public/browser/web_contents_observer.h"
11 #include "url/gurl.h" 11 #include "url/gurl.h"
12 12
13 namespace content {
14 class NavigationHandle;
15 struct ResourceRedirectDetails;
16 }
17
18 namespace safe_browsing { 13 namespace safe_browsing {
19 14
20 class SafeBrowsingNavigationObserver; 15 class SafeBrowsingNavigationObserver;
21 struct NavigationEvent; 16 struct NavigationEvent;
22 struct ResolvedIPAddress; 17 struct ResolvedIPAddress;
23 18
24 // Manager class for SafeBrowsingNavigationObserver, which is in charge of 19 // Manager class for SafeBrowsingNavigationObserver, which is in charge of
25 // cleaning up stale navigation events, and identifing landing page/landing 20 // cleaning up stale navigation events, and identifing landing page/landing
26 // referrer for a specific download. 21 // referrer for a specific download.
27 // TODO(jialiul): For now, SafeBrowsingNavigationObserverManager also listens to 22 // TODO(jialiul): For now, SafeBrowsingNavigationObserverManager also listens to
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // in URLChainEntry in ClientDownloadRequest. 106 // in URLChainEntry in ClientDownloadRequest.
112 HostToIpMap host_to_ip_map_; 107 HostToIpMap host_to_ip_map_;
113 108
114 content::NotificationRegistrar registrar_; 109 content::NotificationRegistrar registrar_;
115 110
116 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingNavigationObserverManager); 111 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingNavigationObserverManager);
117 }; 112 };
118 } // namespace safe_browsing 113 } // namespace safe_browsing
119 114
120 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_NAVIGATION_OBSERVER_MANAGE R_H_ 115 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_NAVIGATION_OBSERVER_MANAGE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698