Index: chrome/browser/chromeos/login/image_decoder.h |
=================================================================== |
--- chrome/browser/chromeos/login/image_decoder.h (revision 88135) |
+++ chrome/browser/chromeos/login/image_decoder.h (working copy) |
@@ -9,8 +9,10 @@ |
#include <string> |
#include <vector> |
-#include "chrome/browser/utility_process_host.h" |
+#include "content/browser/utility_process_host.h" |
+class SkBitmap; |
+ |
namespace chromeos { |
// Decodes an image in a sandboxed process. |
@@ -43,9 +45,12 @@ |
virtual ~ImageDecoder(); |
// Overidden from UtilityProcessHost::Client: |
- virtual void OnDecodeImageSucceeded(const SkBitmap& decoded_image); |
- virtual void OnDecodeImageFailed(); |
+ virtual bool OnMessageReceived(const IPC::Message& message); |
+ // IPC message handlers. |
+ void OnDecodeImageSucceeded(const SkBitmap& decoded_image); |
+ void OnDecodeImageFailed(); |
+ |
// Launches sandboxed process that will decode the image. |
void DecodeImageInSandbox(const std::vector<unsigned char>& image_data); |