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

Unified Diff: content/browser/background_fetch/fetch_request.cc

Issue 2708943002: Create the BackgroundFetchBatchManager and initiate a download. (Closed)
Patch Set: fixed nits 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/background_fetch/fetch_request.h ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/background_fetch/fetch_request.cc
diff --git a/content/browser/background_fetch/fetch_request.cc b/content/browser/background_fetch/fetch_request.cc
deleted file mode 100644
index 455c4d464d28af6b98ca6dd0d8c1b8f6c87f4078..0000000000000000000000000000000000000000
--- a/content/browser/background_fetch/fetch_request.cc
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/browser/background_fetch/fetch_request.h"
-
-#include <string>
-
-#include "base/guid.h"
-#include "content/public/browser/download_item.h"
-
-namespace content {
-
-FetchRequest::FetchRequest() = default;
-
-FetchRequest::FetchRequest(const url::Origin& origin,
- const GURL& url,
- int64_t service_worker_registration_id,
- const std::string& tag)
- : guid_(base::GenerateGUID()),
- origin_(origin),
- url_(url),
- service_worker_registration_id_(service_worker_registration_id),
- tag_(tag) {}
-
-FetchRequest::FetchRequest(const FetchRequest& request)
- : guid_(request.guid_),
- origin_(request.origin_),
- url_(request.url_),
- service_worker_registration_id_(request.service_worker_registration_id()),
- tag_(request.tag_) {}
-
-FetchRequest::~FetchRequest() = default;
-
-} // namespace content
« no previous file with comments | « content/browser/background_fetch/fetch_request.h ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698