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_THREAT_DETAILS_HISTORY_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_HISTORY_H_ |
6 #define CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_HISTORY_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_HISTORY_H_ |
7 | 7 |
8 // This class gets redirect chain for urls from the history service. | 8 // This class gets redirect chain for urls from the history service. |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/containers/hash_tables.h" | 14 #include "base/containers/hash_tables.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/linked_ptr.h" | |
17 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
18 #include "base/sequenced_task_runner_helpers.h" | 17 #include "base/sequenced_task_runner_helpers.h" |
19 #include "base/task/cancelable_task_tracker.h" | 18 #include "base/task/cancelable_task_tracker.h" |
20 #include "components/history/core/browser/history_service.h" | 19 #include "components/history/core/browser/history_service.h" |
21 #include "content/public/browser/browser_thread.h" | 20 #include "content/public/browser/browser_thread.h" |
22 #include "content/public/browser/notification_observer.h" | 21 #include "content/public/browser/notification_observer.h" |
23 #include "content/public/browser/notification_registrar.h" | 22 #include "content/public/browser/notification_registrar.h" |
24 #include "net/base/completion_callback.h" | 23 #include "net/base/completion_callback.h" |
25 | 24 |
26 class Profile; | 25 class Profile; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 std::vector<RedirectChain> redirects_urls_; | 87 std::vector<RedirectChain> redirects_urls_; |
89 | 88 |
90 content::NotificationRegistrar registrar_; | 89 content::NotificationRegistrar registrar_; |
91 | 90 |
92 DISALLOW_COPY_AND_ASSIGN(ThreatDetailsRedirectsCollector); | 91 DISALLOW_COPY_AND_ASSIGN(ThreatDetailsRedirectsCollector); |
93 }; | 92 }; |
94 | 93 |
95 } // namespace safe_browsing | 94 } // namespace safe_browsing |
96 | 95 |
97 #endif // CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_HISTORY_H_ | 96 #endif // CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_HISTORY_H_ |
OLD | NEW |