Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(657)

Unified Diff: chrome/utility/chrome_content_utility_client.h

Issue 1159363002: [Download Notification] Show preview if downloaded file is image (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adressed comment #10 Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 c71ae10f54c645b7558b1dd2cfe7751c69b90ceb..2300c3e9f6703ee25ff93f19337871adb0efcf04 100644
--- a/chrome/utility/chrome_content_utility_client.h
+++ b/chrome/utility/chrome_content_utility_client.h
@@ -46,6 +46,9 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient {
private:
// IPC message handlers.
void OnUnpackWebResource(const std::string& resource_data);
+ void OnDecodeImageByHandle(const IPC::PlatformFileForTransit& image_file,
+ bool shrink_to_fit,
+ int request_id);
void OnDecodeImage(const std::vector<unsigned char>& encoded_data,
bool shrink_to_fit,
int request_id);

Powered by Google App Engine
This is Rietveld 408576698