This is different from Chromium.  If 'application->GetManifest()->HasPath(iter->first)' equals 'true', your code will return 'false'. I think it is wrong.