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

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

Issue 16010007: Move webkit/quota files to webkit/browser/quota or webkit/common/quota (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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
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/browser/fileapi/test_mount_point_provider.h" 5 #include "webkit/browser/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
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/sequenced_task_runner.h" 12 #include "base/sequenced_task_runner.h"
13 #include "webkit/browser/fileapi/copy_or_move_file_validator.h" 13 #include "webkit/browser/fileapi/copy_or_move_file_validator.h"
14 #include "webkit/browser/fileapi/file_observers.h" 14 #include "webkit/browser/fileapi/file_observers.h"
15 #include "webkit/browser/fileapi/file_system_file_stream_reader.h" 15 #include "webkit/browser/fileapi/file_system_file_stream_reader.h"
16 #include "webkit/browser/fileapi/file_system_operation_context.h" 16 #include "webkit/browser/fileapi/file_system_operation_context.h"
17 #include "webkit/browser/fileapi/file_system_quota_util.h" 17 #include "webkit/browser/fileapi/file_system_quota_util.h"
18 #include "webkit/browser/fileapi/local_file_system_operation.h" 18 #include "webkit/browser/fileapi/local_file_system_operation.h"
19 #include "webkit/browser/fileapi/local_file_util.h" 19 #include "webkit/browser/fileapi/local_file_util.h"
20 #include "webkit/browser/fileapi/native_file_util.h" 20 #include "webkit/browser/fileapi/native_file_util.h"
21 #include "webkit/browser/fileapi/sandbox_file_stream_writer.h" 21 #include "webkit/browser/fileapi/sandbox_file_stream_writer.h"
22 #include "webkit/browser/quota/quota_manager.h"
22 #include "webkit/common/fileapi/file_system_util.h" 23 #include "webkit/common/fileapi/file_system_util.h"
23 #include "webkit/quota/quota_manager.h"
24 24
25 namespace fileapi { 25 namespace fileapi {
26 26
27 // This only supports single origin. 27 // This only supports single origin.
28 class TestMountPointProvider::QuotaUtil 28 class TestMountPointProvider::QuotaUtil
29 : public FileSystemQuotaUtil, 29 : public FileSystemQuotaUtil,
30 public FileUpdateObserver { 30 public FileUpdateObserver {
31 public: 31 public:
32 QuotaUtil() : usage_(0) {} 32 QuotaUtil() : usage_(0) {}
33 virtual ~QuotaUtil() {} 33 virtual ~QuotaUtil() {}
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 NOTREACHED(); 181 NOTREACHED();
182 callback.Run(base::PLATFORM_FILE_ERROR_INVALID_OPERATION); 182 callback.Run(base::PLATFORM_FILE_ERROR_INVALID_OPERATION);
183 } 183 }
184 184
185 const UpdateObserverList* TestMountPointProvider::GetUpdateObservers( 185 const UpdateObserverList* TestMountPointProvider::GetUpdateObservers(
186 FileSystemType type) const { 186 FileSystemType type) const {
187 return &observers_; 187 return &observers_;
188 } 188 }
189 189
190 } // namespace fileapi 190 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/syncable/syncable_file_system_unittest.cc ('k') | webkit/browser/quota/mock_quota_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698