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

Side by Side Diff: chrome/browser/safe_browsing/ui_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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // The Safe Browsing service is responsible for downloading anti-phishing and 5 // The Safe Browsing service is responsible for downloading anti-phishing and
6 // anti-malware tables and checking urls against them. 6 // anti-malware tables and checking urls against them.
7 7
8 #ifndef CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_ 8 #ifndef CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_
9 #define CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_ 9 #define CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "base/observer_list.h" 17 #include "base/observer_list.h"
18 #include "base/time/time.h" 18 #include "base/time/time.h"
19 #include "chrome/browser/permissions/permission_uma_util.h" 19 #include "chrome/browser/permissions/permission_uma_util.h"
20 #include "components/safe_browsing_db/hit_report.h" 20 #include "components/safe_browsing_db/hit_report.h"
21 #include "components/safe_browsing_db/util.h" 21 #include "components/safe_browsing_db/util.h"
22 #include "content/public/browser/browser_thread.h" 22 #include "content/public/browser/browser_thread.h"
23 #include "content/public/browser/permission_type.h" 23 #include "content/public/browser/permission_type.h"
24 #include "url/gurl.h" 24 #include "url/gurl.h"
25 25
26 namespace base {
27 class Thread;
28 } // namespace base
29
30 namespace content { 26 namespace content {
31 class NavigationEntry; 27 class NavigationEntry;
32 class WebContents; 28 class WebContents;
33 } // namespace content 29 } // namespace content
34 30
35 namespace net {
36 class SSLInfo;
37 } // namespace net
38
39 namespace safe_browsing { 31 namespace safe_browsing {
40 32
41 class SafeBrowsingService; 33 class SafeBrowsingService;
42 34
43 // Construction needs to happen on the main thread. 35 // Construction needs to happen on the main thread.
44 class SafeBrowsingUIManager 36 class SafeBrowsingUIManager
45 : public base::RefCountedThreadSafe<SafeBrowsingUIManager> { 37 : public base::RefCountedThreadSafe<SafeBrowsingUIManager> {
46 public: 38 public:
47 // Passed a boolean indicating whether or not it is OK to proceed with 39 // Passed a boolean indicating whether or not it is OK to proceed with
48 // loading an URL. 40 // loading an URL.
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 scoped_refptr<SafeBrowsingService> sb_service_; 226 scoped_refptr<SafeBrowsingService> sb_service_;
235 227
236 base::ObserverList<Observer> observer_list_; 228 base::ObserverList<Observer> observer_list_;
237 229
238 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingUIManager); 230 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingUIManager);
239 }; 231 };
240 232
241 } // namespace safe_browsing 233 } // namespace safe_browsing
242 234
243 #endif // CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_ 235 #endif // CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/threat_details_cache.h ('k') | chrome/browser/search/hotword_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698