| 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 30 matching lines...) Expand all Loading... |
| 41 public StorageQuotaClient { | 41 public StorageQuotaClient { |
| 42 USING_GARBAGE_COLLECTED_MIXIN(StorageQuotaClientImpl); | 42 USING_GARBAGE_COLLECTED_MIXIN(StorageQuotaClientImpl); |
| 43 | 43 |
| 44 public: | 44 public: |
| 45 static StorageQuotaClientImpl* create() { | 45 static StorageQuotaClientImpl* create() { |
| 46 return new StorageQuotaClientImpl(); | 46 return new StorageQuotaClientImpl(); |
| 47 } | 47 } |
| 48 | 48 |
| 49 ~StorageQuotaClientImpl() override; | 49 ~StorageQuotaClientImpl() override; |
| 50 | 50 |
| 51 void requestQuota(ExecutionContext*, | 51 void requestQuota(ScriptState*, |
| 52 WebStorageQuotaType, | 52 WebStorageQuotaType, |
| 53 unsigned long long newQuotaInBytes, | 53 unsigned long long newQuotaInBytes, |
| 54 StorageQuotaCallback*, | 54 StorageQuotaCallback*, |
| 55 StorageErrorCallback*) override; | 55 StorageErrorCallback*) override; |
| 56 ScriptPromise requestPersistentQuota( | 56 ScriptPromise requestPersistentQuota( |
| 57 ScriptState*, | 57 ScriptState*, |
| 58 unsigned long long newQuotaInBytes) override; | 58 unsigned long long newQuotaInBytes) override; |
| 59 | 59 |
| 60 DEFINE_INLINE_VIRTUAL_TRACE() { StorageQuotaClient::trace(visitor); } | 60 DEFINE_INLINE_VIRTUAL_TRACE() { StorageQuotaClient::trace(visitor); } |
| 61 | 61 |
| 62 private: | 62 private: |
| 63 StorageQuotaClientImpl(); | 63 StorageQuotaClientImpl(); |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 } // namespace blink | 66 } // namespace blink |
| 67 | 67 |
| 68 #endif // StorageQuotaClientImpl_h | 68 #endif // StorageQuotaClientImpl_h |
| OLD | NEW |