Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_SANDBOX_MOUNT_POINT_PROVIDER_H_ | 5 #ifndef WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ |
| 6 #define WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ | 6 #define WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 137 quota::QuotaManagerProxy* proxy, | 137 quota::QuotaManagerProxy* proxy, |
| 138 const GURL& origin_url, | 138 const GURL& origin_url, |
| 139 FileSystemType type, | 139 FileSystemType type, |
| 140 int64 delta) OVERRIDE; | 140 int64 delta) OVERRIDE; |
| 141 virtual void StartUpdateOriginOnFileThread( | 141 virtual void StartUpdateOriginOnFileThread( |
| 142 const GURL& origin_url, | 142 const GURL& origin_url, |
| 143 FileSystemType type) OVERRIDE; | 143 FileSystemType type) OVERRIDE; |
| 144 virtual void EndUpdateOriginOnFileThread( | 144 virtual void EndUpdateOriginOnFileThread( |
| 145 const GURL& origin_url, | 145 const GURL& origin_url, |
| 146 FileSystemType type) OVERRIDE; | 146 FileSystemType type) OVERRIDE; |
| 147 virtual void MarkDirtyOriginOnFileThread(const GURL& origin_url, | |
|
ericu
2011/08/19 04:05:56
Ditto.
| |
| 148 FileSystemType type) OVERRIDE; | |
| 147 | 149 |
| 148 FileSystemQuotaUtil* quota_util() { return this; } | 150 FileSystemQuotaUtil* quota_util() { return this; } |
| 149 | 151 |
| 150 private: | 152 private: |
| 151 // Returns a path to the usage cache file. | 153 // Returns a path to the usage cache file. |
| 152 FilePath GetUsageCachePathForOriginAndType( | 154 FilePath GetUsageCachePathForOriginAndType( |
| 153 const GURL& origin_url, | 155 const GURL& origin_url, |
| 154 FileSystemType type) const; | 156 FileSystemType type) const; |
| 155 | 157 |
| 156 FilePath OldCreateFileSystemRootPath( | 158 FilePath OldCreateFileSystemRootPath( |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 175 | 177 |
| 176 // Acccessed only on the file thread. | 178 // Acccessed only on the file thread. |
| 177 std::set<GURL> visited_origins_; | 179 std::set<GURL> visited_origins_; |
| 178 | 180 |
| 179 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); | 181 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); |
| 180 }; | 182 }; |
| 181 | 183 |
| 182 } // namespace fileapi | 184 } // namespace fileapi |
| 183 | 185 |
| 184 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ | 186 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ |
| OLD | NEW |