| 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 COMPONENTS_IMAGE_FETCHER_IMAGE_FETCHER_H_ | 5 #ifndef COMPONENTS_IMAGE_FETCHER_CORE_IMAGE_FETCHER_H_ |
| 6 #define COMPONENTS_IMAGE_FETCHER_IMAGE_FETCHER_H_ | 6 #define COMPONENTS_IMAGE_FETCHER_CORE_IMAGE_FETCHER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "components/data_use_measurement/core/data_use_user_data.h" | 12 #include "components/data_use_measurement/core/data_use_user_data.h" |
| 13 #include "components/image_fetcher/image_fetcher_delegate.h" | 13 #include "components/image_fetcher/core/image_fetcher_delegate.h" |
| 14 #include "url/gurl.h" | 14 #include "url/gurl.h" |
| 15 | 15 |
| 16 namespace gfx { | 16 namespace gfx { |
| 17 class Image; | 17 class Image; |
| 18 class Size; | 18 class Size; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace image_fetcher { | 21 namespace image_fetcher { |
| 22 | 22 |
| 23 class ImageDecoder; | 23 class ImageDecoder; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 const ImageFetcherCallback& callback) = 0; | 60 const ImageFetcherCallback& callback) = 0; |
| 61 | 61 |
| 62 virtual ImageDecoder* GetImageDecoder() = 0; | 62 virtual ImageDecoder* GetImageDecoder() = 0; |
| 63 | 63 |
| 64 private: | 64 private: |
| 65 DISALLOW_COPY_AND_ASSIGN(ImageFetcher); | 65 DISALLOW_COPY_AND_ASSIGN(ImageFetcher); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace image_fetcher | 68 } // namespace image_fetcher |
| 69 | 69 |
| 70 #endif // COMPONENTS_IMAGE_FETCHER_IMAGE_FETCHER_H_ | 70 #endif // COMPONENTS_IMAGE_FETCHER_CORE_IMAGE_FETCHER_H_ |
| OLD | NEW |