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

Unified Diff: app/resource_bundle.h

Issue 2800014: Reland r50057. This is exactly the same except with two lines cherrypicked from (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 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
« no previous file with comments | « no previous file | app/resource_bundle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/resource_bundle.h
diff --git a/app/resource_bundle.h b/app/resource_bundle.h
index 3a3e617bfa697735e6c1e84330a39792fc283ca2..1d328a34f461f0b508c2abb3ed5d83112d9b0c6d 100644
--- a/app/resource_bundle.h
+++ b/app/resource_bundle.h
@@ -159,8 +159,9 @@ class ResourceBundle {
// Helper class for managing data packs.
class LoadedDataPack {
public:
- LoadedDataPack(const FilePath& path);
- bool GetStringPiece(int resource_id, base::StringPiece* data);
+ explicit LoadedDataPack(const FilePath& path);
+ bool GetStringPiece(int resource_id, base::StringPiece* data) const;
+ RefCountedStaticMemory* GetStaticMemory(int resource_id) const;
private:
void Load();
« no previous file with comments | « no previous file | app/resource_bundle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698