OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_ICON_LOADER_H_ | 5 #ifndef CHROME_BROWSER_ICON_LOADER_H_ |
6 #define CHROME_BROWSER_ICON_LOADER_H_ | 6 #define CHROME_BROWSER_ICON_LOADER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 // The task runner object of the thread in which we notify the delegate. | 76 // The task runner object of the thread in which we notify the delegate. |
77 scoped_refptr<base::SingleThreadTaskRunner> target_task_runner_; | 77 scoped_refptr<base::SingleThreadTaskRunner> target_task_runner_; |
78 | 78 |
79 base::FilePath file_path_; | 79 base::FilePath file_path_; |
80 | 80 |
81 IconGroup group_; | 81 IconGroup group_; |
82 | 82 |
83 IconSize icon_size_; | 83 IconSize icon_size_; |
84 | 84 |
85 std::unique_ptr<gfx::Image> image_; | |
86 | |
87 IconLoadedCallback callback_; | 85 IconLoadedCallback callback_; |
88 | 86 |
89 DISALLOW_COPY_AND_ASSIGN(IconLoader); | 87 DISALLOW_COPY_AND_ASSIGN(IconLoader); |
90 }; | 88 }; |
91 | 89 |
92 #endif // CHROME_BROWSER_ICON_LOADER_H_ | 90 #endif // CHROME_BROWSER_ICON_LOADER_H_ |
OLD | NEW |