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

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc

Issue 10823273: Integrate external mount points to IsolatedContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove too strict DCHECK 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/chromeos/gdata/gdata_file_system_proxy.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc b/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc
index 08d0937feee080b6f304b17b73df976fd8d8f259..111ccb5e686f84e5c0d3628bd72a620136d32d0b 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc
+++ b/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc
@@ -639,10 +639,10 @@ GDataFileSystemProxy::~GDataFileSystemProxy() {
bool GDataFileSystemProxy::ValidateUrl(
const FileSystemURL& url, FilePath* file_path) {
// what platform you're on.
- if (!url.is_valid() || url.type() != fileapi::kFileSystemTypeExternal) {
+ if (!url.is_valid() || url.type() != fileapi::kFileSystemTypeDrive) {
return false;
}
- *file_path = url.path();
+ *file_path = url.virtual_path();
return true;
}
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_task_executor.cc ('k') | content/browser/fileapi/fileapi_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698