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

Unified Diff: chrome/browser/chromeos/system/ash_system_tray_delegate.cc

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
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_system_service.cc ('k') | chrome/browser/google_apis/gdata_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/system/ash_system_tray_delegate.cc
diff --git a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
index 5ca49b890846eadce0342bd464f3066adc688483..7e2560c367222095748cea135f0acbf89ae0998d 100644
--- a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
+++ b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
@@ -53,7 +53,6 @@
#include "chrome/browser/chromeos/status/network_menu_icon.h"
#include "chrome/browser/chromeos/system/timezone_settings.h"
#include "chrome/browser/chromeos/system_key_event_listener.h"
-#include "chrome/browser/google_apis/gdata_util.h"
#include "chrome/browser/lifetime/application_lifetime.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile_manager.h"
@@ -1144,7 +1143,7 @@ class SystemTrayDelegate : public ash::SystemTrayDelegate,
DriveSystemService* FindDriveSystemService() {
Profile* profile = ProfileManager::GetDefaultProfile();
- if (!gdata::util::IsDriveEnabled(profile))
+ if (!gdata::DriveSystemService::IsDriveEnabled(profile))
return NULL;
return DriveSystemServiceFactory::FindForProfile(profile);
}
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_system_service.cc ('k') | chrome/browser/google_apis/gdata_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698