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/batch_request.h" |
| 6 |
| 7 #include "base/guid.h" |
| 8 |
| 9 namespace content { |
| 10 |
| 11 BatchRequest::BatchRequest() = default; |
| 12 |
| 13 BatchRequest::BatchRequest(const std::string& tag, |
| 14 const url::Origin& origin, |
| 15 int64_t service_worker_registration_id) |
| 16 : guid_(base::GenerateGUID()), |
| 17 tag_(tag), |
| 18 origin_(origin), |
| 19 service_worker_registration_id_(service_worker_registration_id) {} |
| 20 |
| 21 BatchRequest::~BatchRequest() = default; |
| 22 |
| 23 } // namespace content |
OLD | NEW |