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 049b1b158d30e4f51b1d52f66468388b99897ada..823c3452782dad64fb3775faaaf771d5b470c24f 100644 |
--- a/chrome/utility/chrome_content_utility_client.h |
+++ b/chrome/utility/chrome_content_utility_client.h |
@@ -38,29 +38,10 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient { |
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, |
- int request_id); |
- |
- static void set_max_ipc_message_size_for_test(int64_t max_message_size) { |
- max_ipc_message_size_ = max_message_size; |
- } |
- |
private: |
// IPC message handlers. |
void OnUnpackWebResource(const std::string& resource_data); |
- void OnDecodeImage(const std::vector<unsigned char>& encoded_data, |
- bool shrink_to_fit, |
- int request_id); |
#if defined(OS_CHROMEOS) |
- void OnRobustJPEGDecodeImage(const std::vector<unsigned char>& encoded_data, |
- int request_id); |
- void OnRobustPNGDecodeImage(const std::vector<unsigned char>& encoded_data, |
- int request_id); |
- |
void OnCreateZipFile(const base::FilePath& src_dir, |
const std::vector<base::FilePath>& src_relative_paths, |
const base::FileDescriptor& dest_fd); |
@@ -90,8 +71,6 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient { |
bool filter_messages_; |
// A list of message_ids to filter. |
std::set<int> message_id_whitelist_; |
- // Maximum IPC msg size (default to kMaximumMessageSize; override for testing) |
- static int64_t max_ipc_message_size_; |
DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); |
}; |