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

Unified Diff: webkit/fileapi/file_system_operation_context.cc

Issue 6603034: Stop returning the true root path of each filesystem from openFileSystem.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
Index: webkit/fileapi/file_system_operation_context.cc
===================================================================
--- webkit/fileapi/file_system_operation_context.cc (revision 0)
+++ webkit/fileapi/file_system_operation_context.cc (revision 0)
@@ -0,0 +1,28 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "webkit/fileapi/file_system_operation_context.h"
+#include "webkit/fileapi/file_system_context.h"
+#include "webkit/fileapi/file_system_util.h"
+
+namespace fileapi {
+
+FileSystemOperationContext::FileSystemOperationContext(
+ FileSystemContext* context,
+ FileSystemFileUtil* file_system_file_util)
+ : file_system_context_(context),
+ file_system_file_util_(file_system_file_util),
+ src_type_(kFileSystemTypeUnknown),
+ dest_type_(kFileSystemTypeUnknown) {
+}
+
+GURL FileSystemOperationContext::src_root_url() const {
+ return GetFileSystemRootURI(src_origin_url_, src_type_);
+}
+
+GURL FileSystemOperationContext::dest_root_url() const {
+ return GetFileSystemRootURI(dest_origin_url_, dest_type_);
+}
+
+} // namespace fileapi
Property changes on: webkit\fileapi\file_system_operation_context.cc
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698