| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_NET_FILE_DOWNLOADER_H_ | 5 #ifndef CHROME_BROWSER_NET_FILE_DOWNLOADER_H_ |
| 6 #define CHROME_BROWSER_NET_FILE_DOWNLOADER_H_ | 6 #define CHROME_BROWSER_NET_FILE_DOWNLOADER_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 12 #include "net/url_request/url_fetcher_delegate.h" | 13 #include "net/url_request/url_fetcher_delegate.h" |
| 13 | 14 |
| 14 namespace net { | 15 namespace net { |
| 15 class URLFetcher; | 16 class URLFetcher; |
| 16 class URLRequestContextGetter; | 17 class URLRequestContextGetter; |
| 17 } // namespace net | 18 } // namespace net |
| 18 | 19 |
| 19 class GURL; | 20 class GURL; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 48 scoped_ptr<net::URLFetcher> fetcher_; | 49 scoped_ptr<net::URLFetcher> fetcher_; |
| 49 | 50 |
| 50 base::FilePath local_path_; | 51 base::FilePath local_path_; |
| 51 | 52 |
| 52 base::WeakPtrFactory<FileDownloader> weak_ptr_factory_; | 53 base::WeakPtrFactory<FileDownloader> weak_ptr_factory_; |
| 53 | 54 |
| 54 DISALLOW_COPY_AND_ASSIGN(FileDownloader); | 55 DISALLOW_COPY_AND_ASSIGN(FileDownloader); |
| 55 }; | 56 }; |
| 56 | 57 |
| 57 #endif // CHROME_BROWSER_NET_FILE_DOWNLOADER_H_ | 58 #endif // CHROME_BROWSER_NET_FILE_DOWNLOADER_H_ |
| OLD | NEW |