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

Unified Diff: chrome/browser/download/download_prefs.cc

Issue 10873026: Rename GDataSystemService to DriveSystemService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge issue, remove one include header which is no longer necessary Created 8 years, 4 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/download/download_prefs.cc
diff --git a/chrome/browser/download/download_prefs.cc b/chrome/browser/download/download_prefs.cc
index 6bf07ff8acf4f1afd8e1737fcd5110cb07fab8e8..daa3ef7b587e867fe8984231af187aa2b99dbbf0 100644
--- a/chrome/browser/download/download_prefs.cc
+++ b/chrome/browser/download/download_prefs.cc
@@ -29,7 +29,7 @@
#include "content/public/browser/save_page_type.h"
#if defined(OS_CHROMEOS)
-#include "chrome/browser/chromeos/gdata/gdata_system_service.h"
+#include "chrome/browser/chromeos/gdata/drive_system_service.h"
#include "chrome/browser/chromeos/gdata/gdata_util.h"
#endif
@@ -127,11 +127,11 @@ DownloadPrefs* DownloadPrefs::FromBrowserContext(
FilePath DownloadPrefs::DownloadPath() const {
#if defined(OS_CHROMEOS)
- // If the download path is under /drive, and GDataSystemService isn't
+ // If the download path is under /drive, and DriveSystemService isn't
// available (which it isn't for incognito mode, for instance), use the
// default download directory (/Downloads).
if (gdata::util::IsUnderGDataMountPoint(*download_path_) &&
- !gdata::GDataSystemServiceFactory::GetForProfile(profile_))
+ !gdata::DriveSystemServiceFactory::GetForProfile(profile_))
return download_util::GetDefaultDownloadDirectory();
#endif
return *download_path_;
« no previous file with comments | « chrome/browser/chromeos/system/ash_system_tray_delegate.cc ('k') | chrome/browser/ui/webui/chromeos/drive_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698