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

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

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 #ifndef WEBKIT_QUOTA_MOCK_QUOTA_MANAGER_H_ 5 #ifndef WEBKIT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_
6 #define WEBKIT_QUOTA_MOCK_QUOTA_MANAGER_H_ 6 #define WEBKIT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_
7 7
8 #include <string>
8 #include <vector> 9 #include <vector>
9 #include <string>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
13 #include "webkit/quota/quota_client.h" 13 #include "webkit/browser/quota/quota_client.h"
14 #include "webkit/quota/quota_manager.h" 14 #include "webkit/browser/quota/quota_manager.h"
15 #include "webkit/quota/quota_task.h" 15 #include "webkit/browser/quota/quota_task.h"
16 #include "webkit/quota/quota_types.h" 16 #include "webkit/common/quota/quota_types.h"
17 17
18 namespace quota { 18 namespace quota {
19 19
20 // Mocks the pieces of QuotaManager's interface. 20 // Mocks the pieces of QuotaManager's interface.
21 // 21 //
22 // For usage/quota tracking test: 22 // For usage/quota tracking test:
23 // Usage and quota information can be updated by following private helper 23 // Usage and quota information can be updated by following private helper
24 // methods: SetQuota() and UpdateUsage(). 24 // methods: SetQuota() and UpdateUsage().
25 // 25 //
26 // For time-based deletion test: 26 // For time-based deletion test:
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 int storage_modified_count_; 187 int storage_modified_count_;
188 GURL last_notified_origin_; 188 GURL last_notified_origin_;
189 StorageType last_notified_type_; 189 StorageType last_notified_type_;
190 int64 last_notified_delta_; 190 int64 last_notified_delta_;
191 191
192 QuotaClient* registered_client_; 192 QuotaClient* registered_client_;
193 }; 193 };
194 194
195 } // namespace quota 195 } // namespace quota
196 196
197 #endif // WEBKIT_QUOTA_MOCK_QUOTA_MANAGER_H_ 197 #endif // WEBKIT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/test_mount_point_provider.cc ('k') | webkit/browser/quota/mock_quota_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698