summaryrefslogtreecommitdiffstats
path: root/base/data_pack.h
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-17 00:45:34 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-17 00:45:34 +0000
commit1408c8297755306f0d688956fbc2f93fd6d692ac (patch)
tree50997a29208c8505961d7fd8634b7abd2a632c5c /base/data_pack.h
parentc01c61d5d1b86b72e4e1ee4a96870196a8057644 (diff)
downloadchromium_src-1408c8297755306f0d688956fbc2f93fd6d692ac.zip
chromium_src-1408c8297755306f0d688956fbc2f93fd6d692ac.tar.gz
chromium_src-1408c8297755306f0d688956fbc2f93fd6d692ac.tar.bz2
Revert 50057 - Load net-internals from the newly created resources.pak file.
This patch also forces the loading of the optional DataPack for const correctness reasons BUG=35793,42770 TEST=none Review URL: http://codereview.chromium.org/2855003 TBR=erg@chromium.org Review URL: http://codereview.chromium.org/2852011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50059 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/data_pack.h')
-rw-r--r--base/data_pack.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/data_pack.h b/base/data_pack.h
index f3f8481..8938491 100644
--- a/base/data_pack.h
+++ b/base/data_pack.h
@@ -35,12 +35,12 @@ class DataPack {
// Get resource by id |resource_id|, filling in |data|.
// The data is owned by the DataPack object and should not be modified.
// Returns false if the resource id isn't found.
- bool GetStringPiece(uint32 resource_id, StringPiece* data) const;
+ bool GetStringPiece(uint32 resource_id, StringPiece* data);
// Like GetStringPiece(), but returns a reference to memory. This interface
// is used for image data, while the StringPiece interface is usually used
// for localization strings.
- RefCountedStaticMemory* GetStaticMemory(uint32 resource_id) const;
+ RefCountedStaticMemory* GetStaticMemory(uint32 resource_id);
// Writes a pack file containing |resources| to |path|.
static bool WritePack(const FilePath& path,