OLD | NEW |
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_STORAGE_CLIENT_H_ | 5 #ifndef WEBKIT_BROWSER_QUOTA_MOCK_STORAGE_CLIENT_H_ |
6 #define WEBKIT_QUOTA_MOCK_STORAGE_CLIENT_H_ | 6 #define WEBKIT_BROWSER_QUOTA_MOCK_STORAGE_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 #include <utility> | 11 #include <utility> |
12 | 12 |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/time.h" | 15 #include "base/time.h" |
16 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
17 #include "webkit/quota/quota_client.h" | 17 #include "webkit/browser/quota/quota_client.h" |
18 | 18 |
19 namespace quota { | 19 namespace quota { |
20 | 20 |
21 class QuotaManagerProxy; | 21 class QuotaManagerProxy; |
22 | 22 |
23 struct MockOriginData { | 23 struct MockOriginData { |
24 const char* origin; | 24 const char* origin; |
25 StorageType type; | 25 StorageType type; |
26 int64 usage; | 26 int64 usage; |
27 }; | 27 }; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 int mock_time_counter_; | 86 int mock_time_counter_; |
87 | 87 |
88 base::WeakPtrFactory<MockStorageClient> weak_factory_; | 88 base::WeakPtrFactory<MockStorageClient> weak_factory_; |
89 | 89 |
90 DISALLOW_COPY_AND_ASSIGN(MockStorageClient); | 90 DISALLOW_COPY_AND_ASSIGN(MockStorageClient); |
91 }; | 91 }; |
92 | 92 |
93 } // namespace quota | 93 } // namespace quota |
94 | 94 |
95 #endif // WEBKIT_QUOTA_MOCK_STORAGE_CLIENT_H_ | 95 #endif // WEBKIT_BROWSER_QUOTA_MOCK_STORAGE_CLIENT_H_ |
OLD | NEW |