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

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

Issue 7608018: Handle inconsistency between DB and Files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed regression Created 9 years, 3 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) 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 quota::QuotaManagerProxy* proxy, 136 quota::QuotaManagerProxy* proxy,
137 const GURL& origin_url, 137 const GURL& origin_url,
138 FileSystemType type, 138 FileSystemType type,
139 int64 delta) OVERRIDE; 139 int64 delta) OVERRIDE;
140 virtual void StartUpdateOriginOnFileThread( 140 virtual void StartUpdateOriginOnFileThread(
141 const GURL& origin_url, 141 const GURL& origin_url,
142 FileSystemType type) OVERRIDE; 142 FileSystemType type) OVERRIDE;
143 virtual void EndUpdateOriginOnFileThread( 143 virtual void EndUpdateOriginOnFileThread(
144 const GURL& origin_url, 144 const GURL& origin_url,
145 FileSystemType type) OVERRIDE; 145 FileSystemType type) OVERRIDE;
146 virtual void InvalidateUsageCache(const GURL& origin_url,
147 FileSystemType type) OVERRIDE;
146 148
147 FileSystemQuotaUtil* quota_util() { return this; } 149 FileSystemQuotaUtil* quota_util() { return this; }
148 150
149 private: 151 private:
150 // Returns a path to the usage cache file. 152 // Returns a path to the usage cache file.
151 FilePath GetUsageCachePathForOriginAndType( 153 FilePath GetUsageCachePathForOriginAndType(
152 const GURL& origin_url, 154 const GURL& origin_url,
153 FileSystemType type) const; 155 FileSystemType type) const;
154 156
155 FilePath OldCreateFileSystemRootPath( 157 FilePath OldCreateFileSystemRootPath(
(...skipping 17 matching lines...) Expand all
173 175
174 // Acccessed only on the file thread. 176 // Acccessed only on the file thread.
175 std::set<GURL> visited_origins_; 177 std::set<GURL> visited_origins_;
176 178
177 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); 179 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider);
178 }; 180 };
179 181
180 } // namespace fileapi 182 } // namespace fileapi
181 183
182 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ 184 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/obfuscated_file_system_file_util_unittest.cc ('k') | webkit/fileapi/sandbox_mount_point_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698