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

Unified Diff: content/public/common/content_client.h

Issue 1996723002: Switch ResourceBundle LoadDataResourceBytes to return RefCountedMemory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update to address newly added use Created 4 years, 7 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 | « content/browser/webui/web_ui_data_source_unittest.cc ('k') | content/public/common/content_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_client.h
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
index 8e6805f2ef222bce1906b2f2edfabe617c651965..f0862d5b40ac4d16b6bc2b3aa3d8b60f499455d2 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -19,7 +19,7 @@
class GURL;
namespace base {
-class RefCountedStaticMemory;
+class RefCountedMemory;
}
namespace IPC {
@@ -123,7 +123,7 @@ class CONTENT_EXPORT ContentClient {
ui::ScaleFactor scale_factor) const;
// Returns the raw bytes of a scale independent data resource.
- virtual base::RefCountedStaticMemory* GetDataResourceBytes(
+ virtual base::RefCountedMemory* GetDataResourceBytes(
int resource_id) const;
// Returns a native image given its id.
« no previous file with comments | « content/browser/webui/web_ui_data_source_unittest.cc ('k') | content/public/common/content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698