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

Unified Diff: chrome/utility/chrome_content_utility_client.h

Issue 600913002: Revert of Large wallpaper decoding in utility process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8c3aae02983bd259e48c5c1efcdf89915b6f1010..e70106469d00a52775e65e8b875be8cb29ff97ea 100644
--- a/chrome/utility/chrome_content_utility_client.h
+++ b/chrome/utility/chrome_content_utility_client.h
@@ -32,16 +32,12 @@
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 DecodeImage(const std::vector<unsigned char>& encoded_data);
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 OnDecodeImage(const std::vector<unsigned char>& encoded_data);
void OnRobustJPEGDecodeImage(
const std::vector<unsigned char>& encoded_data);
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698