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, | |
45 const GURL& origin_url, | 44 const GURL& origin_url, |
46 FileSystemType type) OVERRIDE { | 45 FileSystemType type) OVERRIDE { |
47 return usage_; | 46 return usage_; |
48 } | 47 } |
49 virtual void NotifyOriginWasAccessedOnIOThread( | 48 virtual void NotifyOriginWasAccessedOnIOThread( |
50 quota::QuotaManagerProxy* proxy, | 49 quota::QuotaManagerProxy* proxy, |
51 const GURL& origin_url, | 50 const GURL& origin_url, |
52 FileSystemType type) OVERRIDE { | 51 FileSystemType type) OVERRIDE { |
53 // Do nothing. | 52 // Do nothing. |
54 } | 53 } |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 // TODO(kinaba,kinuko): return SandboxFileWriter when it is implemented. | 158 // TODO(kinaba,kinuko): return SandboxFileWriter when it is implemented. |
160 NOTIMPLEMENTED(); | 159 NOTIMPLEMENTED(); |
161 return NULL; | 160 return NULL; |
162 } | 161 } |
163 | 162 |
164 FileSystemQuotaUtil* TestMountPointProvider::GetQuotaUtil() { | 163 FileSystemQuotaUtil* TestMountPointProvider::GetQuotaUtil() { |
165 return quota_util_.get(); | 164 return quota_util_.get(); |
166 } | 165 } |
167 | 166 |
168 } // namespace fileapi | 167 } // namespace fileapi |
OLD | NEW |