[DevTools] Extract SelfAsDevice provider class to simplify testing.

Review URL: https://codereview.chromium.org/105953011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242438 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 242438
Remove usage of ProfileManager::GetDefaultProfile from chromeos/login

For most places we're already logged in an should use active user profile since that user has just logged in.

For restoring OAuth2 session in login_utils iterate over all users and see whether that user needs auth session to be restored.

BUG=322682

Review URL: https://codereview.chromium.org/114123003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242439 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 242439
Remove the Value class names from the global namespace.

BUG=88666
TEST=no change
TBR=ben@chromium.org

Review URL: https://codereview.chromium.org/116543010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242440 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 242440
Files.app: Fix obtaining FakeEntry.

In fallback code, DirectoryModel try to obtain a FakeEntry by using createFakeEntry method, but the method actually was not implemented.
FakeEntry is created at the constructor of VolumeInfo and it can be accessed as a member variable of VolumeInfo.

BUG=none
TEST=Run the fallback code and observe JavaScript inspector.

Review URL: https://codereview.chromium.org/119093009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242441 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 242441