@pozdnyakov I simply copied this class from the path extensions/common/ of chromium project. Anyway it a good suggestion to use a GURL member, I'll replace with it.