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 #ifndef CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_HISTORY_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_HISTORY_H_ |
6 #define CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_HISTORY_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_HISTORY_H_ |
7 #pragma once | |
8 | 7 |
9 // This class gets redirect chain for urls from the history service. | 8 // This class gets redirect chain for urls from the history service. |
10 | 9 |
11 #include <string> | 10 #include <string> |
12 #include <vector> | 11 #include <vector> |
13 | 12 |
14 #include "base/callback.h" | 13 #include "base/callback.h" |
15 #include "base/hash_tables.h" | 14 #include "base/hash_tables.h" |
16 #include "base/memory/linked_ptr.h" | 15 #include "base/memory/linked_ptr.h" |
17 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 std::vector<GURL>::iterator urls_it_; | 84 std::vector<GURL>::iterator urls_it_; |
86 // The collected directs from history service | 85 // The collected directs from history service |
87 std::vector<safe_browsing::RedirectChain> redirects_urls_; | 86 std::vector<safe_browsing::RedirectChain> redirects_urls_; |
88 | 87 |
89 content::NotificationRegistrar registrar_; | 88 content::NotificationRegistrar registrar_; |
90 | 89 |
91 DISALLOW_COPY_AND_ASSIGN(MalwareDetailsRedirectsCollector); | 90 DISALLOW_COPY_AND_ASSIGN(MalwareDetailsRedirectsCollector); |
92 }; | 91 }; |
93 | 92 |
94 #endif // CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_HISTORY_H_ | 93 #endif // CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_HISTORY_H_ |
OLD | NEW |