OLD | NEW |
---|---|
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 <memory> | |
Nathan Parker
2016/04/11 17:56:44
not needed
dcheng
2016/04/11 18:31:15
Done.
| |
11 #include <string> | 12 #include <string> |
12 #include <vector> | 13 #include <vector> |
13 | 14 |
14 #include "base/callback.h" | 15 #include "base/callback.h" |
15 #include "base/macros.h" | 16 #include "base/macros.h" |
16 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
17 #include "base/memory/scoped_ptr.h" | |
18 #include "base/observer_list.h" | 18 #include "base/observer_list.h" |
19 #include "base/time/time.h" | 19 #include "base/time/time.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 "url/gurl.h" | 23 #include "url/gurl.h" |
24 | 24 |
25 namespace base { | 25 namespace base { |
26 class Thread; | 26 class Thread; |
27 } // namespace base | 27 } // namespace base |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
175 scoped_refptr<SafeBrowsingService> sb_service_; | 175 scoped_refptr<SafeBrowsingService> sb_service_; |
176 | 176 |
177 base::ObserverList<Observer> observer_list_; | 177 base::ObserverList<Observer> observer_list_; |
178 | 178 |
179 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingUIManager); | 179 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingUIManager); |
180 }; | 180 }; |
181 | 181 |
182 } // namespace safe_browsing | 182 } // namespace safe_browsing |
183 | 183 |
184 #endif // CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_ | 184 #endif // CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_ |
OLD | NEW |