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

Side by Side Diff: webkit/browser/fileapi/sandbox_file_system_backend_delegate.h

Issue 101393006: FileAPI: Rename *OnFileThread to *OnFileTaskRunner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_
6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_ 6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 int64 offset, 115 int64 offset,
116 const base::Time& expected_modification_time, 116 const base::Time& expected_modification_time,
117 FileSystemContext* context) const; 117 FileSystemContext* context) const;
118 scoped_ptr<FileStreamWriter> CreateFileStreamWriter( 118 scoped_ptr<FileStreamWriter> CreateFileStreamWriter(
119 const FileSystemURL& url, 119 const FileSystemURL& url,
120 int64 offset, 120 int64 offset,
121 FileSystemContext* context, 121 FileSystemContext* context,
122 FileSystemType type) const; 122 FileSystemType type) const;
123 123
124 // FileSystemQuotaUtil overrides. 124 // FileSystemQuotaUtil overrides.
125 virtual base::PlatformFileError DeleteOriginDataOnFileThread( 125 virtual base::PlatformFileError DeleteOriginDataOnFileTaskRunner(
126 FileSystemContext* context, 126 FileSystemContext* context,
127 quota::QuotaManagerProxy* proxy, 127 quota::QuotaManagerProxy* proxy,
128 const GURL& origin_url, 128 const GURL& origin_url,
129 FileSystemType type) OVERRIDE; 129 FileSystemType type) OVERRIDE;
130 virtual void GetOriginsForTypeOnFileThread( 130 virtual void GetOriginsForTypeOnFileTaskRunner(
131 FileSystemType type, 131 FileSystemType type,
132 std::set<GURL>* origins) OVERRIDE; 132 std::set<GURL>* origins) OVERRIDE;
133 virtual void GetOriginsForHostOnFileThread( 133 virtual void GetOriginsForHostOnFileTaskRunner(
134 FileSystemType type, 134 FileSystemType type,
135 const std::string& host, 135 const std::string& host,
136 std::set<GURL>* origins) OVERRIDE; 136 std::set<GURL>* origins) OVERRIDE;
137 virtual int64 GetOriginUsageOnFileThread( 137 virtual int64 GetOriginUsageOnFileTaskRunner(
138 FileSystemContext* context, 138 FileSystemContext* context,
139 const GURL& origin_url, 139 const GURL& origin_url,
140 FileSystemType type) OVERRIDE; 140 FileSystemType type) OVERRIDE;
141 virtual scoped_refptr<QuotaReservation> 141 virtual scoped_refptr<QuotaReservation>
142 CreateQuotaReservationOnFileTaskRunner( 142 CreateQuotaReservationOnFileTaskRunner(
143 const GURL& origin_url, 143 const GURL& origin_url,
144 FileSystemType type) OVERRIDE; 144 FileSystemType type) OVERRIDE;
145 virtual void AddFileUpdateObserver( 145 virtual void AddFileUpdateObserver(
146 FileSystemType type, 146 FileSystemType type,
147 FileUpdateObserver* observer, 147 FileUpdateObserver* observer,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 base::Time next_release_time_for_open_filesystem_stat_; 247 base::Time next_release_time_for_open_filesystem_stat_;
248 248
249 base::WeakPtrFactory<SandboxFileSystemBackendDelegate> weak_factory_; 249 base::WeakPtrFactory<SandboxFileSystemBackendDelegate> weak_factory_;
250 250
251 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackendDelegate); 251 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackendDelegate);
252 }; 252 };
253 253
254 } // namespace fileapi 254 } // namespace fileapi
255 255
256 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_ 256 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698