| Index: chrome/browser/ui/webui/options2/chromeos/user_image_source2.h
|
| diff --git a/chrome/browser/ui/webui/options2/chromeos/user_image_source2.h b/chrome/browser/ui/webui/options2/chromeos/user_image_source2.h
|
| index 6bea08e2c26b659914e56db6e891066e319d19d5..b82078d944a44f53d26a2de65007a27383f477a4 100644
|
| --- a/chrome/browser/ui/webui/options2/chromeos/user_image_source2.h
|
| +++ b/chrome/browser/ui/webui/options2/chromeos/user_image_source2.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -28,11 +28,13 @@ class UserImageSource : public ChromeURLDataManager::DataSource {
|
| bool is_incognito,
|
| int request_id) OVERRIDE;
|
|
|
| - virtual std::string GetMimeType(const std::string&) const OVERRIDE;
|
| + virtual std::string GetMimeType(const std::string& path) const OVERRIDE;
|
|
|
| - // Returns PNG encoded image for user with specified email.
|
| - // If there's no user with such email, returns the default image.
|
| - std::vector<unsigned char> GetUserImage(const std::string& email) const;
|
| + // Returns PNG or GIF (when possible and if |is_image_animated| flag
|
| + // is true) encoded image for user with specified email. If there's
|
| + // no user with such email, returns the default image.
|
| + std::vector<unsigned char> GetUserImage(const std::string& email,
|
| + bool is_image_animated) const;
|
|
|
| private:
|
| virtual ~UserImageSource();
|
|
|