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

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

Issue 10905142: Rename GData to Drive in drive_file_system_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 2ca353b4432b7dd07a9f260c96ff803c34f4d2ef..b9e1224e8844581aa74abff321263d6e58530595 100644
--- a/chrome/browser/download/download_prefs.cc
+++ b/chrome/browser/download/download_prefs.cc
@@ -130,7 +130,7 @@ FilePath DownloadPrefs::DownloadPath() const {
// 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_) &&
+ if (gdata::util::IsUnderDriveMountPoint(*download_path_) &&
!gdata::DriveSystemServiceFactory::GetForProfile(profile_))
return download_util::GetDefaultDownloadDirectory();
#endif

Powered by Google App Engine
This is Rietveld 408576698