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 COMPONENTS_SAFE_BROWSING_BROWSER_THREAT_DETAILS_HISTORY_H_ |
6 #define CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_HISTORY_H_ | 6 #define COMPONENTS_SAFE_BROWSING_BROWSER_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/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 base::WeakPtr<history::HistoryService> history_service_; | 85 base::WeakPtr<history::HistoryService> history_service_; |
86 ScopedObserver<history::HistoryService, history::HistoryServiceObserver> | 86 ScopedObserver<history::HistoryService, history::HistoryServiceObserver> |
87 history_service_observer_; | 87 history_service_observer_; |
88 | 88 |
89 DISALLOW_COPY_AND_ASSIGN(ThreatDetailsRedirectsCollector); | 89 DISALLOW_COPY_AND_ASSIGN(ThreatDetailsRedirectsCollector); |
90 }; | 90 }; |
91 | 91 |
92 } // namespace safe_browsing | 92 } // namespace safe_browsing |
93 | 93 |
94 #endif // CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_HISTORY_H_ | 94 #endif // COMPONENTS_SAFE_BROWSING_BROWSER_THREAT_DETAILS_HISTORY_H_ |
OLD | NEW |