| Index: chrome/browser/chromeos/preferences.cc
|
| diff --git a/chrome/browser/chromeos/preferences.cc b/chrome/browser/chromeos/preferences.cc
|
| index 66c598918a68fa346cebad63a59e6a566a936bfa..4176b78538145ecbba67790e6126b57558bd3e10 100644
|
| --- a/chrome/browser/chromeos/preferences.cc
|
| +++ b/chrome/browser/chromeos/preferences.cc
|
| @@ -479,7 +479,7 @@ void Preferences::NotifyPrefChanged(const std::string* pref_name) {
|
| }
|
| }
|
| if (!pref_name || *pref_name == prefs::kDownloadDefaultDirectory) {
|
| - const bool default_download_to_drive = gdata::util::IsUnderDriveMountPoint(
|
| + const bool default_download_to_drive = drive::util::IsUnderDriveMountPoint(
|
| download_default_directory_.GetValue());
|
| if (pref_name)
|
| UMA_HISTOGRAM_BOOLEAN(
|
| @@ -640,7 +640,7 @@ void Preferences::NotifyPrefChanged(const std::string* pref_name) {
|
| // selected and GData is disabled.
|
| if (!pref_name || *pref_name == prefs::kDisableGData) {
|
| if (disable_drive_.GetValue()) {
|
| - if (gdata::util::IsUnderDriveMountPoint(
|
| + if (drive::util::IsUnderDriveMountPoint(
|
| download_default_directory_.GetValue())) {
|
| prefs_->SetFilePath(prefs::kDownloadDefaultDirectory,
|
| download_util::GetDefaultDownloadDirectory());
|
|
|