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

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

Issue 253753007: Move all remaining fileapi and quota unit tests from webkit/ to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address feedback Created 6 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 | « content/browser/quota/DEPS ('k') | content/browser/quota/quota_backend_impl_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 QuotaStatusCode status); 140 QuotaStatusCode status);
141 141
142 // The list of stored origins that have been added via AddOrigin. 142 // The list of stored origins that have been added via AddOrigin.
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 quota 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/quota/DEPS ('k') | content/browser/quota/quota_backend_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698