+RuntimeURLRequestContextGetter* RuntimeContext::GetURLRequestContextGetterById(
+ const std::string& pkg_id) {
+ for (PartitionPathContextGetterMap::iterator it = context_getters_.begin();
+ it != context_getters_.end(); ++it) {
+ if (it->first.find(pkg_id))
+ return it->second.get();
+ }
+ return 0;
+}
+