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 #include "content/child/quota_dispatcher.h" | 5 #include "content/child/quota_dispatcher.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
9 #include "base/threading/thread_local.h" | 9 #include "base/threading/thread_local.h" |
10 #include "content/child/child_thread.h" | 10 #include "content/child/child_thread.h" |
11 #include "content/child/quota_message_filter.h" | 11 #include "content/child/quota_message_filter.h" |
12 #include "content/child/thread_safe_sender.h" | 12 #include "content/child/thread_safe_sender.h" |
13 #include "content/common/quota_messages.h" | 13 #include "content/common/quota_messages.h" |
14 #include "third_party/WebKit/public/web/WebStorageQuotaCallbacks.h" | 14 #include "third_party/WebKit/public/platform/WebStorageQuotaCallbacks.h" |
15 #include "third_party/WebKit/public/web/WebStorageQuotaType.h" | 15 #include "third_party/WebKit/public/platform/WebStorageQuotaType.h" |
16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
17 | 17 |
18 using quota::QuotaStatusCode; | 18 using quota::QuotaStatusCode; |
19 using quota::StorageType; | 19 using quota::StorageType; |
20 | 20 |
21 using blink::WebStorageQuotaCallbacks; | 21 using blink::WebStorageQuotaCallbacks; |
22 using blink::WebStorageQuotaError; | 22 using blink::WebStorageQuotaError; |
23 using blink::WebStorageQuotaType; | 23 using blink::WebStorageQuotaType; |
24 | 24 |
25 using webkit_glue::WorkerTaskRunner; | 25 using webkit_glue::WorkerTaskRunner; |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 int(quota::kStorageTypeTemporary), mismatching_enums); | 171 int(quota::kStorageTypeTemporary), mismatching_enums); |
172 COMPILE_ASSERT(int(blink::WebStorageQuotaTypePersistent) == \ | 172 COMPILE_ASSERT(int(blink::WebStorageQuotaTypePersistent) == \ |
173 int(quota::kStorageTypePersistent), mismatching_enums); | 173 int(quota::kStorageTypePersistent), mismatching_enums); |
174 | 174 |
175 COMPILE_ASSERT(int(blink::WebStorageQuotaErrorNotSupported) == \ | 175 COMPILE_ASSERT(int(blink::WebStorageQuotaErrorNotSupported) == \ |
176 int(quota::kQuotaErrorNotSupported), mismatching_enums); | 176 int(quota::kQuotaErrorNotSupported), mismatching_enums); |
177 COMPILE_ASSERT(int(blink::WebStorageQuotaErrorAbort) == \ | 177 COMPILE_ASSERT(int(blink::WebStorageQuotaErrorAbort) == \ |
178 int(quota::kQuotaErrorAbort), mismatching_enums); | 178 int(quota::kQuotaErrorAbort), mismatching_enums); |
179 | 179 |
180 } // namespace content | 180 } // namespace content |
OLD | NEW |