Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Side by Side Diff: content/browser/background_fetch/batch_request.cc

Issue 2708943002: Create the BackgroundFetchBatchManager and initiate a download. (Closed)
Patch Set: Integrated code review comments and added BackgroundFetchDataManager::BatchData which feeds FetchRe… Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698