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

Side by Side Diff: webkit/fileapi/test_mount_point_provider.cc

Issue 10407115: Always pass FileSystemContext to ObfuscatedFileUtil operations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix Created 8 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
« no previous file with comments | « webkit/fileapi/sandbox_mount_point_provider_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/fileapi/test_mount_point_provider.h" 5 #include "webkit/fileapi/test_mount_point_provider.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 23 matching lines...) Expand all
34 std::set<GURL>* origins) OVERRIDE { 34 std::set<GURL>* origins) OVERRIDE {
35 NOTREACHED(); 35 NOTREACHED();
36 } 36 }
37 virtual void GetOriginsForHostOnFileThread( 37 virtual void GetOriginsForHostOnFileThread(
38 FileSystemType type, 38 FileSystemType type,
39 const std::string& host, 39 const std::string& host,
40 std::set<GURL>* origins) OVERRIDE { 40 std::set<GURL>* origins) OVERRIDE {
41 NOTREACHED(); 41 NOTREACHED();
42 } 42 }
43 virtual int64 GetOriginUsageOnFileThread( 43 virtual int64 GetOriginUsageOnFileThread(
44 FileSystemContext* context,
44 const GURL& origin_url, 45 const GURL& origin_url,
45 FileSystemType type) OVERRIDE { 46 FileSystemType type) OVERRIDE {
46 return usage_; 47 return usage_;
47 } 48 }
48 virtual void NotifyOriginWasAccessedOnIOThread( 49 virtual void NotifyOriginWasAccessedOnIOThread(
49 quota::QuotaManagerProxy* proxy, 50 quota::QuotaManagerProxy* proxy,
50 const GURL& origin_url, 51 const GURL& origin_url,
51 FileSystemType type) OVERRIDE { 52 FileSystemType type) OVERRIDE {
52 // Do nothing. 53 // Do nothing.
53 } 54 }
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 // TODO(kinaba,kinuko): return SandboxFileWriter when it is implemented. 159 // TODO(kinaba,kinuko): return SandboxFileWriter when it is implemented.
159 NOTIMPLEMENTED(); 160 NOTIMPLEMENTED();
160 return NULL; 161 return NULL;
161 } 162 }
162 163
163 FileSystemQuotaUtil* TestMountPointProvider::GetQuotaUtil() { 164 FileSystemQuotaUtil* TestMountPointProvider::GetQuotaUtil() {
164 return quota_util_.get(); 165 return quota_util_.get();
165 } 166 }
166 167
167 } // namespace fileapi 168 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/fileapi/sandbox_mount_point_provider_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698