Index: chrome/browser/image_decoder.h |
diff --git a/chrome/browser/image_decoder.h b/chrome/browser/image_decoder.h |
index 8c9c02841af22130c69132734c18dd4d8aeb285c..928fca7279eaf064dbad7f58bb80aeda435c0d70 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,8 @@ class ImageDecoder : public content::UtilityProcessHostClient { |
// Starts image decoding. |
void Start(); |
+ bool get_image_data(std::vector<unsigned char>* image_data) const; |
Ivan Korotkov
2012/05/29 10:50:23
Maybe just const vector& get_image_data() const {
ygorshenin1
2012/05/30 12:17:34
Done.
|
+ |
private: |
// It's a reference counted object, so destructor is private. |
virtual ~ImageDecoder(); |