Index: chrome/browser/chromeos/drive/drive_integration_service.h |
diff --git a/chrome/browser/chromeos/drive/drive_integration_service.h b/chrome/browser/chromeos/drive/drive_integration_service.h |
index 943c4ad01d3c8e0dcec94f782d155b1875b818d8..db72aa2b335f9e091a062478ff91183c67c928ad 100644 |
--- a/chrome/browser/chromeos/drive/drive_integration_service.h |
+++ b/chrome/browser/chromeos/drive/drive_integration_service.h |
@@ -110,6 +110,13 @@ class DriveIntegrationService |
const base::Callback<void(bool)>& callback); |
private: |
+ enum State { |
+ NOT_INITIALIZED, |
+ INITIALIZING, |
+ INITIALIZED, |
+ REMOUNTING, |
+ }; |
+ |
// Returns true if Drive is enabled. |
// Must be called on UI thread. |
bool IsDriveEnabled(); |
@@ -131,7 +138,7 @@ class DriveIntegrationService |
friend class DriveIntegrationServiceFactory; |
Profile* profile_; |
- bool is_initialized_; |
+ State state_; |
base::FilePath cache_root_directory_; |
scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; |