| Index: components/nacl/browser/pnacl_translation_cache.cc
|
| diff --git a/components/nacl/browser/pnacl_translation_cache.cc b/components/nacl/browser/pnacl_translation_cache.cc
|
| index e27103adf8d5f2fc9f81763d4866931f8f4b8ab0..093faf19affcaa4c79e6c97589e0ff971b7c27dc 100644
|
| --- a/components/nacl/browser/pnacl_translation_cache.cc
|
| +++ b/components/nacl/browser/pnacl_translation_cache.cc
|
| @@ -398,6 +398,9 @@ int PnaclTranslationCache::Size() {
|
| return disk_cache_->GetEntryCount();
|
| }
|
|
|
| +// Beware that any changes to this function or to PnaclCacheInfo will
|
| +// effectively invalidate existing translation cache entries.
|
| +
|
| // static
|
| std::string PnaclTranslationCache::GetKey(const nacl::PnaclCacheInfo& info) {
|
| if (!info.pexe_url.is_valid() || info.abi_version < 0 || info.opt_level < 0)
|
| @@ -426,7 +429,9 @@ std::string PnaclTranslationCache::GetKey(const nacl::PnaclCacheInfo& info) {
|
| IntToString(exploded.hour) + ":" + IntToString(exploded.minute) +
|
| ":" + IntToString(exploded.second) + ":" +
|
| IntToString(exploded.millisecond) + ":UTC;";
|
| - retval += "etag:" + info.etag;
|
| + retval += "etag:" + info.etag + ";";
|
| + retval += "sandbox:" + info.sandbox_isa + ";";
|
| + retval += "extra_flags:" + info.extra_flags + ";";
|
| return retval;
|
| }
|
|
|
|
|