Introduce State to DriveIntegrationService.
commitb4db86a6595ca691f52ad1658bbd5ca51867c243
authorhidehiko@chromium.org <hidehiko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 10 Sep 2013 09:03:44 +0000 (10 09:03 +0000)
committerhidehiko@chromium.org <hidehiko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 10 Sep 2013 09:03:44 +0000 (10 09:03 +0000)
treeed6e4a29a9358980020f22a81994ba44292f5123
parent39080c971479e897b6127a9f0e4219246b1b0291
Introduce State to DriveIntegrationService.

This is small refactoring of DriveIntegrationService by introducing State.
This is preparation of mount/enabled state migration of
DriveIntegrationSerivice. By the migration, DriveIntegrationService can be
obtained even before initialization. This CL supports the change.
Also, by this CL, FileSystem can be deleted even before Initialize() is called.

BUG=284972
TEST=Ran unit_tests
R=kinaba@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222231 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/chromeos/drive/drive_integration_service.cc
chrome/browser/chromeos/drive/drive_integration_service.h
chrome/browser/chromeos/drive/file_system.cc