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 #include "chrome/browser/ui/webui/options2/chromeos/wallpaper_thumbnail_source.h
" | 5 #include "chrome/browser/ui/webui/options/chromeos/wallpaper_thumbnail_source.h" |
6 | 6 |
7 #include "ash/desktop_background/desktop_background_resources.h" | 7 #include "ash/desktop_background/desktop_background_resources.h" |
8 #include "base/memory/ref_counted_memory.h" | 8 #include "base/memory/ref_counted_memory.h" |
9 #include "base/memory/singleton.h" | 9 #include "base/memory/singleton.h" |
10 #include "base/string_number_conversions.h" | 10 #include "base/string_number_conversions.h" |
11 #include "base/string_piece.h" | 11 #include "base/string_piece.h" |
12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
13 #include "base/stringprintf.h" | 13 #include "base/stringprintf.h" |
14 #include "base/synchronization/cancellation_flag.h" | 14 #include "base/synchronization/cancellation_flag.h" |
15 #include "base/threading/thread_restrictions.h" | 15 #include "base/threading/thread_restrictions.h" |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 SendResponse(request_id, NULL); | 252 SendResponse(request_id, NULL); |
253 return; | 253 return; |
254 } | 254 } |
255 const ResourceBundle& rb = ResourceBundle::GetSharedInstance(); | 255 const ResourceBundle& rb = ResourceBundle::GetSharedInstance(); |
256 SendResponse(request_id, | 256 SendResponse(request_id, |
257 rb.LoadDataResourceBytes(idr, scale_factor)); | 257 rb.LoadDataResourceBytes(idr, scale_factor)); |
258 } | 258 } |
259 | 259 |
260 } // namespace options | 260 } // namespace options |
261 } // namespace chromeos | 261 } // namespace chromeos |
OLD | NEW |