| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 | 7 #pragma once |
| 8 | 8 |
| 9 // This class gets redirect chain for urls from the history service. | 9 // This class gets redirect chain for urls from the history service. |
| 10 | 10 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 void GetRedirects(const GURL& url); | 74 void GetRedirects(const GURL& url); |
| 75 void OnGotQueryRedirectsTo(HistoryService::Handle handle, | 75 void OnGotQueryRedirectsTo(HistoryService::Handle handle, |
| 76 GURL url, | 76 GURL url, |
| 77 bool success, | 77 bool success, |
| 78 history::RedirectList* redirect_list); | 78 history::RedirectList* redirect_list); |
| 79 | 79 |
| 80 // Posts the callback method back to IO thread when redirects collecting | 80 // Posts the callback method back to IO thread when redirects collecting |
| 81 // is all done. | 81 // is all done. |
| 82 void AllDone(); | 82 void AllDone(); |
| 83 | 83 |
| 84 virtual void Observe(NotificationType type, | 84 virtual void Observe(int type, |
| 85 const NotificationSource& source, | 85 const NotificationSource& source, |
| 86 const NotificationDetails& details); | 86 const NotificationDetails& details); |
| 87 | 87 |
| 88 DISALLOW_COPY_AND_ASSIGN(MalwareDetailsRedirectsCollector); | 88 DISALLOW_COPY_AND_ASSIGN(MalwareDetailsRedirectsCollector); |
| 89 }; | 89 }; |
| 90 | 90 |
| 91 #endif // CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_HISTORY_H_ | 91 #endif // CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_HISTORY_H_ |
| OLD | NEW |