OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_QUOTA_MOCK_STORAGE_CLIENT_H_ |
6 #define WEBKIT_QUOTA_MOCK_STORAGE_CLIENT_H_ | 6 #define WEBKIT_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/task.h" | |
16 #include "base/time.h" | 15 #include "base/time.h" |
17 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
18 #include "webkit/quota/quota_client.h" | 17 #include "webkit/quota/quota_client.h" |
19 | 18 |
20 namespace quota { | 19 namespace quota { |
21 | 20 |
22 class QuotaManagerProxy; | 21 class QuotaManagerProxy; |
23 | 22 |
24 struct MockOriginData { | 23 struct MockOriginData { |
25 const char* origin; | 24 const char* origin; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 int mock_time_counter_; | 82 int mock_time_counter_; |
84 | 83 |
85 base::WeakPtrFactory<MockStorageClient> weak_factory_; | 84 base::WeakPtrFactory<MockStorageClient> weak_factory_; |
86 | 85 |
87 DISALLOW_COPY_AND_ASSIGN(MockStorageClient); | 86 DISALLOW_COPY_AND_ASSIGN(MockStorageClient); |
88 }; | 87 }; |
89 | 88 |
90 } // namespace quota | 89 } // namespace quota |
91 | 90 |
92 #endif // WEBKIT_QUOTA_MOCK_STORAGE_CLIENT_H_ | 91 #endif // WEBKIT_QUOTA_MOCK_STORAGE_CLIENT_H_ |
OLD | NEW |