Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Unified Diff: chrome/browser/chromeos/gdata/drive_system_service.h

Issue 11094061: drive: Move IsDriveEnabled() and DisableDrive() to DriveSystemService (Closed) Base URL: http://git.chromium.org/chromium/src.git@drive_available
Patch Set: address comments Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « chrome/browser/chromeos/extensions/file_browser_private_api.cc ('k') | chrome/browser/chromeos/gdata/drive_system_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698