summaryrefslogtreecommitdiffstats
path: root/chrome/browser/image_decoder.h
diff options
context:
space:
mode:
authorygorshenin@chromium.org <ygorshenin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-31 13:49:40 +0000
committerygorshenin@chromium.org <ygorshenin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-31 13:49:40 +0000
commit44013f6828207c9b179f29cd8bb1559d6e81c28c (patch)
treeb15568d83a0ce114707f7d8790d3f4decee524c1 /chrome/browser/image_decoder.h
parent2eb6b89474c70bf69590fe07ab57bd95ca407b69 (diff)
downloadchromium_src-44013f6828207c9b179f29cd8bb1559d6e81c28c.zip
chromium_src-44013f6828207c9b179f29cd8bb1559d6e81c28c.tar.gz
chromium_src-44013f6828207c9b179f29cd8bb1559d6e81c28c.tar.bz2
Added support for animated/nonanimated user image. There are no
optimizations (for instance, image is still decoded to PNG at each request) and bug with replaying animation at each click on already active user pod, but CL is big enough, so we should start review. BUG=114083 TEST=none Review URL: https://chromiumcodereview.appspot.com/10454044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139779 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/image_decoder.h')
-rw-r--r--chrome/browser/image_decoder.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/image_decoder.h b/chrome/browser/image_decoder.h
index 8c9c028..148454b 100644
--- a/chrome/browser/image_decoder.h
+++ b/chrome/browser/image_decoder.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.
@@ -40,6 +40,10 @@ class ImageDecoder : public content::UtilityProcessHostClient {
// Starts image decoding.
void Start();
+ const std::vector<unsigned char>& get_image_data() const {
+ return image_data_;
+ }
+
private:
// It's a reference counted object, so destructor is private.
virtual ~ImageDecoder();