Index: chrome/utility/chrome_content_utility_client.h |
diff --git a/chrome/utility/chrome_content_utility_client.h b/chrome/utility/chrome_content_utility_client.h |
index 92e26f7ef7a7e217cbc1251f122e0968317bb590..d6bf6d2b41c00330919898c1d3c2cdc19c2919e8 100644 |
--- a/chrome/utility/chrome_content_utility_client.h |
+++ b/chrome/utility/chrome_content_utility_client.h |
@@ -28,15 +28,10 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient { |
void UtilityThreadStarted() override; |
bool OnMessageReceived(const IPC::Message& message) override; |
+ void RegisterMojoServices(content::ServiceRegistry* registry) override; |
static void PreSandboxStartup(); |
- // Shared with extensions::ExtensionsHandler. |
- static SkBitmap DecodeImage(const std::vector<unsigned char>& encoded_data, |
- bool shrink_to_fit); |
- static void DecodeImageAndSend(const std::vector<unsigned char>& encoded_data, |
- bool shrink_to_fit); |
- |
static void set_max_ipc_message_size_for_test(int64_t max_message_size) { |
max_ipc_message_size_ = max_message_size; |
} |
@@ -44,10 +39,6 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient { |
private: |
// IPC message handlers. |
void OnUnpackWebResource(const std::string& resource_data); |
- void OnDecodeImage(const std::vector<unsigned char>& encoded_data, |
- bool shrink_to_fit); |
- void OnRobustJPEGDecodeImage( |
- const std::vector<unsigned char>& encoded_data); |
#if defined(OS_CHROMEOS) |
void OnCreateZipFile(const base::FilePath& src_dir, |