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 EXTENSIONS_BROWSER_IMAGE_LOADER_H_ | 5 #ifndef EXTENSIONS_BROWSER_IMAGE_LOADER_H_ |
6 #define EXTENSIONS_BROWSER_IMAGE_LOADER_H_ | 6 #define EXTENSIONS_BROWSER_IMAGE_LOADER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
11 #include "base/gtest_prod_util.h" | |
12 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
13 #include "components/keyed_service/core/keyed_service.h" | 12 #include "components/keyed_service/core/keyed_service.h" |
14 #include "extensions/common/extension_resource.h" | 13 #include "extensions/common/extension_resource.h" |
15 #include "third_party/skia/include/core/SkBitmap.h" | 14 #include "third_party/skia/include/core/SkBitmap.h" |
16 #include "ui/base/layout.h" | 15 #include "ui/base/layout.h" |
17 #include "ui/gfx/geometry/size.h" | 16 #include "ui/gfx/geometry/size.h" |
18 | 17 |
19 namespace content { | 18 namespace content { |
20 class BrowserContext; | 19 class BrowserContext; |
21 } | 20 } |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 const std::vector<LoadResult>& load_result); | 111 const std::vector<LoadResult>& load_result); |
113 | 112 |
114 base::WeakPtrFactory<ImageLoader> weak_ptr_factory_; | 113 base::WeakPtrFactory<ImageLoader> weak_ptr_factory_; |
115 | 114 |
116 DISALLOW_COPY_AND_ASSIGN(ImageLoader); | 115 DISALLOW_COPY_AND_ASSIGN(ImageLoader); |
117 }; | 116 }; |
118 | 117 |
119 } // namespace extensions | 118 } // namespace extensions |
120 | 119 |
121 #endif // EXTENSIONS_BROWSER_IMAGE_LOADER_H_ | 120 #endif // EXTENSIONS_BROWSER_IMAGE_LOADER_H_ |
OLD | NEW |