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_BROWSER_DEVTOOLS_PROTOCOL_QUOTA_AND_USAGE_QUERY_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_USAGE_AND_QUOTA_QUERY_H_ |
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_QUOTA_AND_USAGE_QUERY_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_USAGE_AND_QUOTA_QUERY_H_ |
7 | 7 |
8 #include "content/browser/devtools/protocol/devtools_protocol_handler.h" | 8 #include "content/browser/devtools/protocol/devtools_protocol_handler.h" |
9 #include "storage/browser/quota/quota_manager.h" | 9 #include "storage/browser/quota/quota_manager.h" |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 namespace devtools { | 12 namespace devtools { |
13 namespace page { | 13 namespace page { |
14 | 14 |
15 // This class can only be used on IO thread. | 15 // This class can only be used on IO thread. |
16 class UsageAndQuotaQuery : public base::RefCounted<UsageAndQuotaQuery> { | 16 class UsageAndQuotaQuery : public base::RefCounted<UsageAndQuotaQuery> { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 double persistent_quota_; | 53 double persistent_quota_; |
54 UsageItems temporary_usage_; | 54 UsageItems temporary_usage_; |
55 UsageItems persistent_usage_; | 55 UsageItems persistent_usage_; |
56 UsageItems syncable_usage_; | 56 UsageItems syncable_usage_; |
57 }; | 57 }; |
58 | 58 |
59 } // namespace page | 59 } // namespace page |
60 } // namespace devtools | 60 } // namespace devtools |
61 } // namespace content | 61 } // namespace content |
62 | 62 |
63 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_QUOTA_AND_USAGE_QUERY_H_ | 63 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_USAGE_AND_QUOTA_QUERY_H_ |
OLD | NEW |