OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/browser/background_fetch/background_fetch_job_info.h" |
| 6 |
| 7 #include "base/guid.h" |
| 8 |
| 9 namespace content { |
| 10 |
| 11 BackgroundFetchJobInfo::BackgroundFetchJobInfo( |
| 12 const std::string& tag, |
| 13 const url::Origin& origin, |
| 14 int64_t service_worker_registration_id) |
| 15 : guid_(base::GenerateGUID()), |
| 16 tag_(tag), |
| 17 origin_(origin), |
| 18 service_worker_registration_id_(service_worker_registration_id) {} |
| 19 |
| 20 BackgroundFetchJobInfo::~BackgroundFetchJobInfo() = default; |
| 21 |
| 22 } // namespace content |
OLD | NEW |