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

Side by Side Diff: webkit/browser/fileapi/file_system_url.cc

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "webkit/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 "webkit/common/fileapi/file_system_types.h"
13 #include "webkit/common/fileapi/file_system_util.h" 13 #include "webkit/common/fileapi/file_system_util.h"
14 14
15 namespace fileapi { 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),
24 type_(kFileSystemTypeUnknown), 24 type_(kFileSystemTypeUnknown),
25 mount_option_(COPY_SYNC_OPTION_NO_SYNC) { 25 mount_option_(COPY_SYNC_OPTION_NO_SYNC) {
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 DCHECK(lhs.is_valid_ && rhs.is_valid_); 143 DCHECK(lhs.is_valid_ && rhs.is_valid_);
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 fileapi 153 } // namespace storage
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/file_system_url.h ('k') | webkit/browser/fileapi/file_system_url_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698