| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_DOWNLOAD_FEEDBACK_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_DOWNLOAD_FEEDBACK_H_ |
| 6 #define CHROME_BROWSER_SAFE_BROWSING_DOWNLOAD_FEEDBACK_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_DOWNLOAD_FEEDBACK_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
| 13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/memory/scoped_ptr.h" | |
| 15 #include "base/threading/non_thread_safe.h" | 14 #include "base/threading/non_thread_safe.h" |
| 16 #include "chrome/browser/safe_browsing/two_phase_uploader.h" | 15 #include "chrome/browser/safe_browsing/two_phase_uploader.h" |
| 17 | 16 |
| 18 namespace content { | 17 namespace content { |
| 19 class DownloadItem; | 18 class DownloadItem; |
| 20 } | 19 } |
| 21 | 20 |
| 22 namespace safe_browsing { | 21 namespace safe_browsing { |
| 23 | 22 |
| 24 class DownloadFeedbackFactory; | 23 class DownloadFeedbackFactory; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 net::URLRequestContextGetter* request_context_getter, | 74 net::URLRequestContextGetter* request_context_getter, |
| 76 base::TaskRunner* file_task_runner, | 75 base::TaskRunner* file_task_runner, |
| 77 const base::FilePath& file_path, | 76 const base::FilePath& file_path, |
| 78 const std::string& ping_request, | 77 const std::string& ping_request, |
| 79 const std::string& ping_response) = 0; | 78 const std::string& ping_response) = 0; |
| 80 }; | 79 }; |
| 81 | 80 |
| 82 } // namespace safe_browsing | 81 } // namespace safe_browsing |
| 83 | 82 |
| 84 #endif // CHROME_BROWSER_SAFE_BROWSING_DOWNLOAD_FEEDBACK_H_ | 83 #endif // CHROME_BROWSER_SAFE_BROWSING_DOWNLOAD_FEEDBACK_H_ |
| OLD | NEW |