| 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" | |
| 11 #include "content/child/quota_message_filter.h" | 10 #include "content/child/quota_message_filter.h" |
| 12 #include "content/child/thread_safe_sender.h" | 11 #include "content/child/thread_safe_sender.h" |
| 13 #include "content/common/quota_messages.h" | 12 #include "content/common/quota_messages.h" |
| 14 #include "third_party/WebKit/public/platform/WebStorageQuotaCallbacks.h" | 13 #include "third_party/WebKit/public/platform/WebStorageQuotaCallbacks.h" |
| 15 #include "third_party/WebKit/public/platform/WebStorageQuotaType.h" | 14 #include "third_party/WebKit/public/platform/WebStorageQuotaType.h" |
| 16 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" | 15 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" |
| 17 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| 18 | 17 |
| 19 using blink::WebStorageQuotaCallbacks; | 18 using blink::WebStorageQuotaCallbacks; |
| 20 using blink::WebStorageQuotaError; | 19 using blink::WebStorageQuotaError; |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 "mismatching enums: kStorageTypePersistent"); | 182 "mismatching enums: kStorageTypePersistent"); |
| 184 | 183 |
| 185 static_assert(int(blink::WebStorageQuotaErrorNotSupported) == | 184 static_assert(int(blink::WebStorageQuotaErrorNotSupported) == |
| 186 int(storage::kQuotaErrorNotSupported), | 185 int(storage::kQuotaErrorNotSupported), |
| 187 "mismatching enums: kQuotaErrorNotSupported"); | 186 "mismatching enums: kQuotaErrorNotSupported"); |
| 188 static_assert(int(blink::WebStorageQuotaErrorAbort) == | 187 static_assert(int(blink::WebStorageQuotaErrorAbort) == |
| 189 int(storage::kQuotaErrorAbort), | 188 int(storage::kQuotaErrorAbort), |
| 190 "mismatching enums: kQuotaErrorAbort"); | 189 "mismatching enums: kQuotaErrorAbort"); |
| 191 | 190 |
| 192 } // namespace content | 191 } // namespace content |
| OLD | NEW |