OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |