| Index: chrome/browser/ui/webui/options/chromeos/user_image_source.h
|
| diff --git a/chrome/browser/ui/webui/options/chromeos/user_image_source.h b/chrome/browser/ui/webui/options/chromeos/user_image_source.h
|
| index 87ffa1266f912a22930ee0da6b6d2908ff9aebb6..ad11d6ada99bf08677de41ef81aee63083e5e448 100644
|
| --- a/chrome/browser/ui/webui/options/chromeos/user_image_source.h
|
| +++ b/chrome/browser/ui/webui/options/chromeos/user_image_source.h
|
| @@ -12,8 +12,6 @@
|
| #include "base/compiler_specific.h"
|
| #include "content/public/browser/url_data_source.h"
|
| #include "ui/base/layout.h"
|
| -
|
| -class AccountId;
|
|
|
| namespace base {
|
| class RefCountedMemory;
|
| @@ -37,9 +35,9 @@
|
| const content::URLDataSource::GotDataCallback& callback) override;
|
| std::string GetMimeType(const std::string& path) const override;
|
|
|
| - // Returns PNG encoded image for user with specified |account_id|. If there's
|
| - // no user with such an id, returns the first default image.
|
| - static base::RefCountedMemory* GetUserImage(const AccountId& account_id,
|
| + // Returns PNG encoded image for user with specified email. If there's
|
| + // no user with such email, returns the first default image.
|
| + static base::RefCountedMemory* GetUserImage(const std::string& email,
|
| ui::ScaleFactor scale_factor);
|
|
|
| private:
|
|
|