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

Side by Side Diff: content/browser/quota/mock_quota_manager.h

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_
6 #define CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ 6 #define CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "url/gurl.h" 14 #include "url/gurl.h"
15 #include "webkit/browser/quota/quota_client.h" 15 #include "storage/browser/quota/quota_client.h"
16 #include "webkit/browser/quota/quota_manager.h" 16 #include "storage/browser/quota/quota_manager.h"
17 #include "webkit/browser/quota/quota_task.h" 17 #include "storage/browser/quota/quota_task.h"
18 #include "webkit/common/quota/quota_types.h" 18 #include "storage/common/quota/quota_types.h"
19 19
20 using quota::GetOriginsCallback; 20 using quota::GetOriginsCallback;
21 using quota::QuotaClient; 21 using quota::QuotaClient;
22 using quota::QuotaManager; 22 using quota::QuotaManager;
23 using quota::QuotaStatusCode; 23 using quota::QuotaStatusCode;
24 using quota::SpecialStoragePolicy; 24 using quota::SpecialStoragePolicy;
25 using quota::StatusCallback; 25 using quota::StatusCallback;
26 using quota::StorageType; 26 using quota::StorageType;
27 27
28 namespace content { 28 namespace content {
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 std::vector<OriginInfo> origins_; 143 std::vector<OriginInfo> origins_;
144 UsageAndQuotaMap usage_and_quota_map_; 144 UsageAndQuotaMap usage_and_quota_map_;
145 base::WeakPtrFactory<MockQuotaManager> weak_factory_; 145 base::WeakPtrFactory<MockQuotaManager> weak_factory_;
146 146
147 DISALLOW_COPY_AND_ASSIGN(MockQuotaManager); 147 DISALLOW_COPY_AND_ASSIGN(MockQuotaManager);
148 }; 148 };
149 149
150 } // namespace content 150 } // namespace content
151 151
152 #endif // CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ 152 #endif // CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_
OLDNEW
« no previous file with comments | « content/browser/net/view_blob_internals_job_factory.cc ('k') | content/browser/quota/mock_quota_manager_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698