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 <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/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
16 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
17 #include "base/observer_list.h" | 18 #include "base/observer_list.h" |
18 #include "base/time/time.h" | 19 #include "base/time/time.h" |
19 #include "chrome/browser/safe_browsing/hit_report.h" | 20 #include "chrome/browser/safe_browsing/hit_report.h" |
20 #include "chrome/browser/safe_browsing/safe_browsing_util.h" | 21 #include "chrome/browser/safe_browsing/safe_browsing_util.h" |
21 #include "content/public/browser/browser_thread.h" | 22 #include "content/public/browser/browser_thread.h" |
22 #include "url/gurl.h" | 23 #include "url/gurl.h" |
23 | 24 |
24 namespace base { | 25 namespace base { |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 scoped_refptr<SafeBrowsingService> sb_service_; | 174 scoped_refptr<SafeBrowsingService> sb_service_; |
174 | 175 |
175 base::ObserverList<Observer> observer_list_; | 176 base::ObserverList<Observer> observer_list_; |
176 | 177 |
177 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingUIManager); | 178 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingUIManager); |
178 }; | 179 }; |
179 | 180 |
180 } // namespace safe_browsing | 181 } // namespace safe_browsing |
181 | 182 |
182 #endif // CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_ | 183 #endif // CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_ |
OLD | NEW |