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

Unified Diff: chrome/browser/chromeos/preferences.cc

Issue 11106007: drive: Rename 'gdata' namespace to 'drive' in chrome/browser/chromeos/drive (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/preferences.cc
diff --git a/chrome/browser/chromeos/preferences.cc b/chrome/browser/chromeos/preferences.cc
index 73c2944f350e047b481008e2c4fc757ddc5080da..b71b3750e5965aad40b95747712c506828e2f233 100644
--- a/chrome/browser/chromeos/preferences.cc
+++ b/chrome/browser/chromeos/preferences.cc
@@ -470,7 +470,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(
@@ -631,7 +631,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());
« no previous file with comments | « chrome/browser/chromeos/extensions/file_manager_util.cc ('k') | chrome/browser/chromeos/system/ash_system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698