| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #ifndef BackgroundFetchRegistration_h | 5 #ifndef BackgroundFetchRegistration_h |
| 6 #define BackgroundFetchRegistration_h | 6 #define BackgroundFetchRegistration_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptPromise.h" | 8 #include "bindings/core/v8/ScriptPromise.h" |
| 9 #include "bindings/core/v8/ScriptWrappable.h" | 9 #include "bindings/core/v8/ScriptWrappable.h" |
| 10 #include "platform/heap/GarbageCollected.h" | 10 #include "platform/heap/GarbageCollected.h" |
| 11 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
| 12 #include "platform/wtf/text/WTFString.h" |
| 12 #include "public/platform/modules/background_fetch/background_fetch.mojom-blink.
h" | 13 #include "public/platform/modules/background_fetch/background_fetch.mojom-blink.
h" |
| 13 #include "wtf/text/WTFString.h" | |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class IconDefinition; | 17 class IconDefinition; |
| 18 class ScriptPromiseResolver; | 18 class ScriptPromiseResolver; |
| 19 class ScriptState; | 19 class ScriptState; |
| 20 class ServiceWorkerRegistration; | 20 class ServiceWorkerRegistration; |
| 21 | 21 |
| 22 // Represents an individual Background Fetch registration. Gives developers | 22 // Represents an individual Background Fetch registration. Gives developers |
| 23 // access to its properties, options, and enables them to abort the fetch. | 23 // access to its properties, options, and enables them to abort the fetch. |
| (...skipping 29 matching lines...) Expand all Loading... |
| 53 | 53 |
| 54 String tag_; | 54 String tag_; |
| 55 HeapVector<IconDefinition> icons_; | 55 HeapVector<IconDefinition> icons_; |
| 56 long long total_download_size_; | 56 long long total_download_size_; |
| 57 String title_; | 57 String title_; |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 } // namespace blink | 60 } // namespace blink |
| 61 | 61 |
| 62 #endif // BackgroundFetchRegistration_h | 62 #endif // BackgroundFetchRegistration_h |
| OLD | NEW |