Change GetProfileToUse method from Profile to content::BrowserContext
This drops a dependency on Profile in the interface of ProfileKeyedService
infrastructure, and adds helper functions that make it explicit what is being
done (it's not obvious just from "return context" for example that this will
result in the service having its own instance in Incognito mode instead
of no instance).
BUG=227219
[email protected], [email protected]
Review URL: https://codereview.chromium.org/13865012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198232 0039d316-1c4b-4281-b951-d872f2087c98
104 files changed