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

Unified Diff: webkit/fileapi/file_system_url.cc

Issue 12717014: Launch packaged app with files on Drive on Chrome OS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. 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 | « webkit/fileapi/file_system_url.h ('k') | webkit/fileapi/file_system_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_url.cc
diff --git a/webkit/fileapi/file_system_url.cc b/webkit/fileapi/file_system_url.cc
index d0f8a037c20283c534c3f766cf5bcdceac33a7aa..f636daf1d25ceafa9db5a75d099dc9dd34b56041 100644
--- a/webkit/fileapi/file_system_url.cc
+++ b/webkit/fileapi/file_system_url.cc
@@ -22,8 +22,8 @@ namespace {
FileSystemURL::FileSystemURL()
: is_valid_(false),
- type_(kFileSystemTypeUnknown),
- mount_type_(kFileSystemTypeUnknown) {
+ mount_type_(kFileSystemTypeUnknown),
+ type_(kFileSystemTypeUnknown) {
}
// static
@@ -99,8 +99,8 @@ bool FileSystemURL::ParseFileSystemSchemeURL(
}
FileSystemURL::FileSystemURL(const GURL& url)
- : type_(kFileSystemTypeUnknown),
- mount_type_(kFileSystemTypeUnknown) {
+ : mount_type_(kFileSystemTypeUnknown),
+ type_(kFileSystemTypeUnknown) {
is_valid_ = ParseFileSystemSchemeURL(url, &origin_, &type_, &path_);
virtual_path_ = path_;
mount_type_ = type_;
@@ -111,25 +111,27 @@ FileSystemURL::FileSystemURL(const GURL& origin,
const base::FilePath& path)
: is_valid_(true),
origin_(origin),
- type_(type),
mount_type_(type),
- path_(path.NormalizePathSeparators()),
- virtual_path_(path.NormalizePathSeparators()) {
+ virtual_path_(path.NormalizePathSeparators()),
+ type_(type),
+ path_(path.NormalizePathSeparators()) {
}
FileSystemURL::FileSystemURL(const GURL& origin,
FileSystemType mount_type,
const base::FilePath& virtual_path,
- const std::string& filesystem_id,
+ const std::string& mount_filesystem_id,
FileSystemType cracked_type,
- const base::FilePath& cracked_path)
+ const base::FilePath& cracked_path,
+ const std::string& filesystem_id)
: is_valid_(true),
origin_(origin),
- type_(cracked_type),
mount_type_(mount_type),
+ virtual_path_(virtual_path.NormalizePathSeparators()),
+ mount_filesystem_id_(mount_filesystem_id),
+ type_(cracked_type),
path_(cracked_path.NormalizePathSeparators()),
- filesystem_id_(filesystem_id),
- virtual_path_(virtual_path.NormalizePathSeparators()) {
+ filesystem_id_(filesystem_id) {
}
FileSystemURL::~FileSystemURL() {}
« no previous file with comments | « webkit/fileapi/file_system_url.h ('k') | webkit/fileapi/file_system_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698