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_TWO_PHASE_UPLOADER_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_TWO_PHASE_UPLOADER_H_ |
6 #define CHROME_BROWSER_SAFE_BROWSING_TWO_PHASE_UPLOADER_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_TWO_PHASE_UPLOADER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
| 10 #include <memory> |
10 #include <string> | 11 #include <string> |
11 | 12 |
12 #include "base/callback.h" | 13 #include "base/callback.h" |
13 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
14 #include "base/memory/scoped_ptr.h" | |
15 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
16 #include "net/url_request/url_request_context_getter.h" | 16 #include "net/url_request/url_request_context_getter.h" |
17 #include "url/gurl.h" | 17 #include "url/gurl.h" |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class TaskRunner; | 20 class TaskRunner; |
21 } | 21 } |
22 namespace net { | 22 namespace net { |
23 class URLRequestContextGetter; | 23 class URLRequestContextGetter; |
24 } | 24 } |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 net::URLRequestContextGetter* url_request_context_getter, | 94 net::URLRequestContextGetter* url_request_context_getter, |
95 base::TaskRunner* file_task_runner, | 95 base::TaskRunner* file_task_runner, |
96 const GURL& base_url, | 96 const GURL& base_url, |
97 const std::string& metadata, | 97 const std::string& metadata, |
98 const base::FilePath& file_path, | 98 const base::FilePath& file_path, |
99 const TwoPhaseUploader::ProgressCallback& progress_callback, | 99 const TwoPhaseUploader::ProgressCallback& progress_callback, |
100 const TwoPhaseUploader::FinishCallback& finish_callback) = 0; | 100 const TwoPhaseUploader::FinishCallback& finish_callback) = 0; |
101 }; | 101 }; |
102 | 102 |
103 #endif // CHROME_BROWSER_SAFE_BROWSING_TWO_PHASE_UPLOADER_H_ | 103 #endif // CHROME_BROWSER_SAFE_BROWSING_TWO_PHASE_UPLOADER_H_ |
OLD | NEW |