OLD | NEW |
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_PUBLIC_TEST_MOCK_STORAGE_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_MOCK_STORAGE_CLIENT_H_ |
6 #define CONTENT_PUBLIC_TEST_MOCK_STORAGE_CLIENT_H_ | 6 #define CONTENT_PUBLIC_TEST_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/time.h" | 15 #include "base/time/time.h" |
16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
17 #include "webkit/browser/quota/quota_client.h" | 17 #include "storage/browser/quota/quota_client.h" |
18 | 18 |
19 namespace quota { | 19 namespace quota { |
20 class QuotaManagerProxy; | 20 class QuotaManagerProxy; |
21 } | 21 } |
22 | 22 |
23 using quota::QuotaClient; | 23 using quota::QuotaClient; |
24 using quota::QuotaManagerProxy; | 24 using quota::QuotaManagerProxy; |
25 using quota::StorageType; | 25 using quota::StorageType; |
26 | 26 |
27 namespace content { | 27 namespace content { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 int mock_time_counter_; | 93 int mock_time_counter_; |
94 | 94 |
95 base::WeakPtrFactory<MockStorageClient> weak_factory_; | 95 base::WeakPtrFactory<MockStorageClient> weak_factory_; |
96 | 96 |
97 DISALLOW_COPY_AND_ASSIGN(MockStorageClient); | 97 DISALLOW_COPY_AND_ASSIGN(MockStorageClient); |
98 }; | 98 }; |
99 | 99 |
100 } // namespace content | 100 } // namespace content |
101 | 101 |
102 #endif // CONTENT_PUBLIC_TEST_MOCK_STORAGE_CLIENT_H_ | 102 #endif // CONTENT_PUBLIC_TEST_MOCK_STORAGE_CLIENT_H_ |
OLD | NEW |