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

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

Issue 10449028: Revert 138444 - Always pass FileSystemContext to ObfuscatedFileUtil operations (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1151/src/
Patch Set: 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,
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
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
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