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

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

Issue 2708943002: Create the BackgroundFetchBatchManager and initiate a download. (Closed)
Patch Set: Moved JobData into a stand-alone class and renamed to BackgroundFetchJobData Created 3 years, 9 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/background_fetch_job_info.h"
6
7 #include "base/guid.h"
8
9 namespace content {
10
11 BackgroundFetchJobInfo::BackgroundFetchJobInfo() = default;
12
13 BackgroundFetchJobInfo::BackgroundFetchJobInfo(
14 const std::string& tag,
15 const url::Origin& origin,
16 int64_t service_worker_registration_id)
17 : guid_(base::GenerateGUID()),
18 tag_(tag),
19 origin_(origin),
20 service_worker_registration_id_(service_worker_registration_id) {}
21
22 BackgroundFetchJobInfo::~BackgroundFetchJobInfo() = default;
23
24 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698