Index: chrome/browser/chromeos/gdata/drive_system_service.h |
diff --git a/chrome/browser/chromeos/gdata/drive_system_service.h b/chrome/browser/chromeos/gdata/drive_system_service.h |
index cb5ed7f6d6cd7c9d60467d67111d0b636172017b..9ffcf33f609b30f10b5f905067a98db8c8813d6f 100644 |
--- a/chrome/browser/chromeos/gdata/drive_system_service.h |
+++ b/chrome/browser/chromeos/gdata/drive_system_service.h |
@@ -52,6 +52,10 @@ class DriveSystemService : public ProfileKeyedService { |
// ProfileKeyedService override: |
virtual void Shutdown() OVERRIDE; |
+ // Returns true if Drive is enabled for the specified profile. |
+ // Must be called on UI thread. |
+ static bool IsDriveEnabled(Profile* profile); |
+ |
private: |
explicit DriveSystemService(Profile* profile); |
virtual ~DriveSystemService(); |