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

Unified Diff: chrome/browser/resources/options/browser_options.js

Issue 12790013: Update optinos UI to display "/special/drive/root" as "Google Drive". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/browser_options.js
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
index 02b247baf4d00aa241cffc59e0c6daede585fb73..fc6e5a66d0b5de076f9940073e23d60771728d93 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -862,7 +862,7 @@ cr.define('options', function() {
// /home/chronos/user/Downloads with Downloads for local files.
// Also replace '/' with ' \u203a ' (angled quote sign) everywhere.
var path = $('downloadLocationPath').value;
- path = path.replace(/^\/special\/drive/, 'Google Drive');
+ path = path.replace(/^\/special\/drive\/root/, 'Google Drive');
path = path.replace(/^\/home\/chronos\/user\//, '');
path = path.replace(/\//g, ' \u203a ');
$('downloadLocationPath').value = path;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698