| 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 #include "modules/background_fetch/BackgroundFetchRegistration.h" | 5 #include "modules/background_fetch/BackgroundFetchRegistration.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/ScriptState.h" | |
| 8 #include "modules/background_fetch/BackgroundFetchBridge.h" | 7 #include "modules/background_fetch/BackgroundFetchBridge.h" |
| 9 #include "modules/background_fetch/IconDefinition.h" | 8 #include "modules/background_fetch/IconDefinition.h" |
| 10 #include "modules/serviceworkers/ServiceWorkerRegistration.h" | 9 #include "modules/serviceworkers/ServiceWorkerRegistration.h" |
| 10 #include "platform/bindings/ScriptState.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 BackgroundFetchRegistration::BackgroundFetchRegistration( | 14 BackgroundFetchRegistration::BackgroundFetchRegistration( |
| 15 String tag, | 15 String tag, |
| 16 HeapVector<IconDefinition> icons, | 16 HeapVector<IconDefinition> icons, |
| 17 long long total_download_size, | 17 long long total_download_size, |
| 18 String title) | 18 String title) |
| 19 : tag_(tag), | 19 : tag_(tag), |
| 20 icons_(icons), | 20 icons_(icons), |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 NOTREACHED(); | 76 NOTREACHED(); |
| 77 } | 77 } |
| 78 | 78 |
| 79 DEFINE_TRACE(BackgroundFetchRegistration) { | 79 DEFINE_TRACE(BackgroundFetchRegistration) { |
| 80 visitor->Trace(registration_); | 80 visitor->Trace(registration_); |
| 81 visitor->Trace(icons_); | 81 visitor->Trace(icons_); |
| 82 } | 82 } |
| 83 | 83 |
| 84 } // namespace blink | 84 } // namespace blink |
| OLD | NEW |