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/common/quota_dispatcher.h" | 5 #include "content/child/quota_dispatcher.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "content/common/child_thread.h" | 8 #include "content/child/child_thread.h" |
9 #include "content/common/quota_messages.h" | 9 #include "content/common/quota_messages.h" |
10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaCallba
cks.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaCallba
cks.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaType.h
" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaType.h
" |
13 | 13 |
14 using quota::QuotaStatusCode; | 14 using quota::QuotaStatusCode; |
15 using quota::StorageType; | 15 using quota::StorageType; |
16 | 16 |
17 using WebKit::WebStorageQuotaCallbacks; | 17 using WebKit::WebStorageQuotaCallbacks; |
18 using WebKit::WebStorageQuotaError; | 18 using WebKit::WebStorageQuotaError; |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 int(quota::kStorageTypeTemporary), mismatching_enums); | 131 int(quota::kStorageTypeTemporary), mismatching_enums); |
132 COMPILE_ASSERT(int(WebKit::WebStorageQuotaTypePersistent) == \ | 132 COMPILE_ASSERT(int(WebKit::WebStorageQuotaTypePersistent) == \ |
133 int(quota::kStorageTypePersistent), mismatching_enums); | 133 int(quota::kStorageTypePersistent), mismatching_enums); |
134 | 134 |
135 COMPILE_ASSERT(int(WebKit::WebStorageQuotaErrorNotSupported) == \ | 135 COMPILE_ASSERT(int(WebKit::WebStorageQuotaErrorNotSupported) == \ |
136 int(quota::kQuotaErrorNotSupported), mismatching_enums); | 136 int(quota::kQuotaErrorNotSupported), mismatching_enums); |
137 COMPILE_ASSERT(int(WebKit::WebStorageQuotaErrorAbort) == \ | 137 COMPILE_ASSERT(int(WebKit::WebStorageQuotaErrorAbort) == \ |
138 int(quota::kQuotaErrorAbort), mismatching_enums); | 138 int(quota::kQuotaErrorAbort), mismatching_enums); |
139 | 139 |
140 } // namespace content | 140 } // namespace content |
OLD | NEW |