Index: chrome/browser/image_decoder.h |
diff --git a/chrome/browser/image_decoder.h b/chrome/browser/image_decoder.h |
index 8c9c02841af22130c69132734c18dd4d8aeb285c..148454be93a3a82d5c80c37336418e3fa5091a83 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(); |