Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: chrome/browser/chromeos/login/users/avatar/user_image_loader.h

Issue 2763103002: Move ImageDecoder to components/image_fetcher/content (Closed)
Patch Set: Rebased. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_LOADER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_LOADER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_LOADER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_LOADER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "chrome/browser/image_decoder.h" 13 #include "components/image_fetcher/content/image_decoder.h"
14 14
15 namespace base { 15 namespace base {
16 class SequencedTaskRunner; 16 class SequencedTaskRunner;
17 } 17 }
18 18
19 namespace user_manager { 19 namespace user_manager {
20 class UserImage; 20 class UserImage;
21 } 21 }
22 22
23 // Helper functions that read, decode and optionally resize an image on a 23 // Helper functions that read, decode and optionally resize an image on a
(...skipping 22 matching lines...) Expand all
46 scoped_refptr<base::SequencedTaskRunner> background_task_runner, 46 scoped_refptr<base::SequencedTaskRunner> background_task_runner,
47 std::unique_ptr<std::string> data, 47 std::unique_ptr<std::string> data,
48 ImageDecoder::ImageCodec image_codec, 48 ImageDecoder::ImageCodec image_codec,
49 int pixels_per_side, 49 int pixels_per_side,
50 const LoadedCallback& loaded_cb); 50 const LoadedCallback& loaded_cb);
51 51
52 } // namespace user_image_loader 52 } // namespace user_image_loader
53 } // namespace chromeos 53 } // namespace chromeos
54 54
55 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_LOADER_H_ 55 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_LOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698