OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/renderer/renderer_webkitplatformsupport_impl.h" | 5 #include "content/renderer/renderer_webkitplatformsupport_impl.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
10 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1155 RenderThread::Get()->Send(new ViewHostMsg_CancelVibration()); | 1155 RenderThread::Get()->Send(new ViewHostMsg_CancelVibration()); |
1156 } | 1156 } |
1157 #endif // defined(OS_ANDROID) | 1157 #endif // defined(OS_ANDROID) |
1158 | 1158 |
1159 //------------------------------------------------------------------------------ | 1159 //------------------------------------------------------------------------------ |
1160 | 1160 |
1161 void RendererWebKitPlatformSupportImpl::queryStorageUsageAndQuota( | 1161 void RendererWebKitPlatformSupportImpl::queryStorageUsageAndQuota( |
1162 const WebKit::WebURL& storage_partition, | 1162 const WebKit::WebURL& storage_partition, |
1163 WebKit::WebStorageQuotaType type, | 1163 WebKit::WebStorageQuotaType type, |
1164 WebKit::WebStorageQuotaCallbacks* callbacks) { | 1164 WebKit::WebStorageQuotaCallbacks* callbacks) { |
1165 ChildThread::current()->quota_dispatcher()->QueryStorageUsageAndQuota( | 1165 QuotaDispatcher::ThreadSpecificInstance( |
1166 thread_safe_sender_.get())->QueryStorageUsageAndQuota( | |
1166 storage_partition, | 1167 storage_partition, |
jam
2013/07/26 04:57:30
nit: need to indent again here now
kinuko
2013/07/29 04:31:55
Done.
| |
1167 static_cast<quota::StorageType>(type), | 1168 static_cast<quota::StorageType>(type), |
1168 QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks)); | 1169 QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks)); |
1169 } | 1170 } |
1170 | 1171 |
1171 } // namespace content | 1172 } // namespace content |
OLD | NEW |