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/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "chrome/browser/bitmap_fetcher/bitmap_fetcher_delegate.h" | 10 #include "chrome/browser/bitmap_fetcher/bitmap_fetcher_delegate.h" |
10 #include "chrome/browser/image_decoder.h" | 11 #include "chrome/browser/image_decoder.h" |
11 #include "net/url_request/url_fetcher_delegate.h" | 12 #include "net/url_request/url_fetcher_delegate.h" |
12 #include "net/url_request/url_request.h" | 13 #include "net/url_request/url_request.h" |
13 #include "third_party/skia/include/core/SkBitmap.h" | 14 #include "third_party/skia/include/core/SkBitmap.h" |
14 #include "url/gurl.h" | 15 #include "url/gurl.h" |
15 | 16 |
16 namespace net { | 17 namespace net { |
17 class URLFetcher; | 18 class URLFetcher; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 scoped_ptr<net::URLFetcher> url_fetcher_; | 72 scoped_ptr<net::URLFetcher> url_fetcher_; |
72 const GURL url_; | 73 const GURL url_; |
73 BitmapFetcherDelegate* const delegate_; | 74 BitmapFetcherDelegate* const delegate_; |
74 | 75 |
75 DISALLOW_COPY_AND_ASSIGN(BitmapFetcher); | 76 DISALLOW_COPY_AND_ASSIGN(BitmapFetcher); |
76 }; | 77 }; |
77 | 78 |
78 } // namespace chrome | 79 } // namespace chrome |
79 | 80 |
80 #endif // CHROME_BROWSER_BITMAP_FETCHER_BITMAP_FETCHER_H_ | 81 #endif // CHROME_BROWSER_BITMAP_FETCHER_BITMAP_FETCHER_H_ |
OLD | NEW |