OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BITMAP_FETCHER_BITMAP_FETCHER_H_ | 5 #ifndef CHROME_BROWSER_BITMAP_FETCHER_BITMAP_FETCHER_H_ |
6 #define CHROME_BROWSER_BITMAP_FETCHER_BITMAP_FETCHER_H_ | 6 #define CHROME_BROWSER_BITMAP_FETCHER_BITMAP_FETCHER_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "chrome/browser/bitmap_fetcher_delegate.h" | 9 #include "chrome/browser/bitmap_fetcher/bitmap_fetcher_delegate.h" |
10 #include "chrome/browser/image_decoder.h" | 10 #include "chrome/browser/image_decoder.h" |
11 #include "net/url_request/url_fetcher_delegate.h" | 11 #include "net/url_request/url_fetcher_delegate.h" |
12 #include "net/url_request/url_request.h" | 12 #include "net/url_request/url_request.h" |
13 #include "third_party/skia/include/core/SkBitmap.h" | 13 #include "third_party/skia/include/core/SkBitmap.h" |
14 #include "url/gurl.h" | 14 #include "url/gurl.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 class URLFetcher; | 17 class URLFetcher; |
18 class URLRequestContextGetter; | 18 class URLRequestContextGetter; |
19 } // namespace net | 19 } // namespace net |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 scoped_refptr<ImageDecoder> image_decoder_; | 73 scoped_refptr<ImageDecoder> image_decoder_; |
74 const GURL url_; | 74 const GURL url_; |
75 BitmapFetcherDelegate* const delegate_; | 75 BitmapFetcherDelegate* const delegate_; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(BitmapFetcher); | 77 DISALLOW_COPY_AND_ASSIGN(BitmapFetcher); |
78 }; | 78 }; |
79 | 79 |
80 } // namespace chrome | 80 } // namespace chrome |
81 | 81 |
82 #endif // CHROME_BROWSER_BITMAP_FETCHER_BITMAP_FETCHER_H_ | 82 #endif // CHROME_BROWSER_BITMAP_FETCHER_BITMAP_FETCHER_H_ |
OLD | NEW |