Fix a problem that would only show up in non-admin mode.
Fix a problem that would only show up in non-admin mode.

We were letting the result of IEIsProtectedModeURL decide the code flow of our tests, and for some reason, when run in non-admin mode, it causes a CoCreateInstance to be called and we mock it.

So we decided to mock IEIsProtectedModeURL too, so that we can have a more deterministic code flow, and now we have the opportunity (behind a TODO for now) to valid all code flows based on diferent return values.

TEST=Make sure the unit tests succeed in both and non-admin mode, which ever version of IE instance on whatever version of the OS.
BUG= 62387
Review URL: http://codereview.chromium.org/5116004

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@66655 0039d316-1c4b-4281-b951-d872f2087c98

gavinp/chromium,adobe/chromium,ropik/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,gavinp/chromium,yitian134/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,adobe/chromium,ropik/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,gavinp/chromium,yitian134/chromium,adobe/chromium,ropik/chromium,gavinp/chromium,adobe/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,ropik/chromium,gavinp/chromium,ropik/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,ropik/chromium,yitian134/chromium,yitian134/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,yitian134/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,adobe/chromium