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

Side by Side Diff: webkit/fileapi/file_system_url.h

Issue 15754005: Fix dependency: make file_system_util not depend on FileSystemURL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_URL_H_ 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_URL_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_URL_H_ 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_URL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 return mount_filesystem_id_; 115 return mount_filesystem_id_;
116 } 116 }
117 117
118 FileSystemType mount_type() const { return mount_type_; } 118 FileSystemType mount_type() const { return mount_type_; }
119 119
120 std::string DebugString() const; 120 std::string DebugString() const;
121 121
122 // Returns true if this URL is a strict parent of the |child|. 122 // Returns true if this URL is a strict parent of the |child|.
123 bool IsParent(const FileSystemURL& child) const; 123 bool IsParent(const FileSystemURL& child) const;
124 124
125 bool IsInSameFileSystem(const FileSystemURL& other) const;
126
125 bool operator==(const FileSystemURL& that) const; 127 bool operator==(const FileSystemURL& that) const;
126 128
127 struct WEBKIT_STORAGE_EXPORT Comparator { 129 struct WEBKIT_STORAGE_EXPORT Comparator {
128 bool operator() (const FileSystemURL& lhs, const FileSystemURL& rhs) const; 130 bool operator() (const FileSystemURL& lhs, const FileSystemURL& rhs) const;
129 }; 131 };
130 132
131 private: 133 private:
132 friend class FileSystemContext; 134 friend class FileSystemContext;
133 friend class ExternalMountPoints; 135 friend class ExternalMountPoints;
134 friend class IsolatedContext; 136 friend class IsolatedContext;
(...skipping 27 matching lines...) Expand all
162 FileSystemType type_; 164 FileSystemType type_;
163 base::FilePath path_; 165 base::FilePath path_;
164 std::string filesystem_id_; 166 std::string filesystem_id_;
165 }; 167 };
166 168
167 typedef std::set<FileSystemURL, FileSystemURL::Comparator> FileSystemURLSet; 169 typedef std::set<FileSystemURL, FileSystemURL::Comparator> FileSystemURLSet;
168 170
169 } // namespace fileapi 171 } // namespace fileapi
170 172
171 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_URL_H_ 173 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_URL_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/local_file_system_operation.cc ('k') | webkit/fileapi/file_system_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698