OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "webkit/browser/fileapi/file_system_url.h" | 5 #include "storage/browser/fileapi/file_system_url.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
11 #include "net/base/escape.h" | 11 #include "net/base/escape.h" |
12 #include "webkit/common/fileapi/file_system_types.h" | 12 #include "storage/common/fileapi/file_system_types.h" |
13 #include "webkit/common/fileapi/file_system_util.h" | 13 #include "storage/common/fileapi/file_system_util.h" |
14 | 14 |
15 namespace storage { | 15 namespace storage { |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 } // namespace | 19 } // namespace |
20 | 20 |
21 FileSystemURL::FileSystemURL() | 21 FileSystemURL::FileSystemURL() |
22 : is_valid_(false), | 22 : is_valid_(false), |
23 mount_type_(kFileSystemTypeUnknown), | 23 mount_type_(kFileSystemTypeUnknown), |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 if (lhs.origin_ != rhs.origin_) | 144 if (lhs.origin_ != rhs.origin_) |
145 return lhs.origin_ < rhs.origin_; | 145 return lhs.origin_ < rhs.origin_; |
146 if (lhs.type_ != rhs.type_) | 146 if (lhs.type_ != rhs.type_) |
147 return lhs.type_ < rhs.type_; | 147 return lhs.type_ < rhs.type_; |
148 if (lhs.filesystem_id_ != rhs.filesystem_id_) | 148 if (lhs.filesystem_id_ != rhs.filesystem_id_) |
149 return lhs.filesystem_id_ < rhs.filesystem_id_; | 149 return lhs.filesystem_id_ < rhs.filesystem_id_; |
150 return lhs.path_ < rhs.path_; | 150 return lhs.path_ < rhs.path_; |
151 } | 151 } |
152 | 152 |
153 } // namespace storage | 153 } // namespace storage |
OLD | NEW |