| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #include "modules/quota/StorageUsageCallback.h" | 45 #include "modules/quota/StorageUsageCallback.h" |
| 46 #include "public/platform/WebStorageQuotaType.h" | 46 #include "public/platform/WebStorageQuotaType.h" |
| 47 #include "public/web/WebFrameClient.h" | 47 #include "public/web/WebFrameClient.h" |
| 48 #include "web/WebLocalFrameImpl.h" | 48 #include "web/WebLocalFrameImpl.h" |
| 49 #include "wtf/Threading.h" | 49 #include "wtf/Threading.h" |
| 50 | 50 |
| 51 using namespace WebCore; | 51 using namespace WebCore; |
| 52 | 52 |
| 53 namespace blink { | 53 namespace blink { |
| 54 | 54 |
| 55 PassOwnPtr<StorageQuotaClientImpl> StorageQuotaClientImpl::create() | 55 PassOwnPtrWillBeRawPtr<StorageQuotaClientImpl> StorageQuotaClientImpl::create() |
| 56 { | 56 { |
| 57 return adoptPtr(new StorageQuotaClientImpl()); | 57 return adoptPtrWillBeNoop(new StorageQuotaClientImpl()); |
| 58 } | 58 } |
| 59 | 59 |
| 60 StorageQuotaClientImpl::~StorageQuotaClientImpl() | 60 StorageQuotaClientImpl::~StorageQuotaClientImpl() |
| 61 { | 61 { |
| 62 } | 62 } |
| 63 | 63 |
| 64 void StorageQuotaClientImpl::requestQuota(ExecutionContext* executionContext, We
bStorageQuotaType storageType, unsigned long long newQuotaInBytes, PassOwnPtr<St
orageQuotaCallback> successCallback, PassOwnPtr<StorageErrorCallback> errorCallb
ack) | 64 void StorageQuotaClientImpl::requestQuota(ExecutionContext* executionContext, We
bStorageQuotaType storageType, unsigned long long newQuotaInBytes, PassOwnPtr<St
orageQuotaCallback> successCallback, PassOwnPtr<StorageErrorCallback> errorCallb
ack) |
| 65 { | 65 { |
| 66 ASSERT(executionContext); | 66 ASSERT(executionContext); |
| 67 | 67 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 94 } | 94 } |
| 95 | 95 |
| 96 return promise; | 96 return promise; |
| 97 } | 97 } |
| 98 | 98 |
| 99 StorageQuotaClientImpl::StorageQuotaClientImpl() | 99 StorageQuotaClientImpl::StorageQuotaClientImpl() |
| 100 { | 100 { |
| 101 } | 101 } |
| 102 | 102 |
| 103 } // namespace blink | 103 } // namespace blink |
| OLD | NEW |