| Index: content/browser/background_fetch/background_fetch_request_info.h
 | 
| diff --git a/content/browser/background_fetch/background_fetch_request_info.h b/content/browser/background_fetch/background_fetch_request_info.h
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..434ae070b5023d2759063397a834e6a920c73ad5
 | 
| --- /dev/null
 | 
| +++ b/content/browser/background_fetch/background_fetch_request_info.h
 | 
| @@ -0,0 +1,43 @@
 | 
| +// 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.
 | 
| +
 | 
| +#ifndef CONTENT_BROWSER_BACKGROUND_FETCH_REQUEST_INFO_H_
 | 
| +#define CONTENT_BROWSER_BACKGROUND_FETCH_REQUEST_INFO_H_
 | 
| +
 | 
| +#include <vector>
 | 
| +
 | 
| +#include "content/common/content_export.h"
 | 
| +#include "url/gurl.h"
 | 
| +
 | 
| +namespace content {
 | 
| +
 | 
| +// Simple class to encapsulate the components of a fetch request.
 | 
| +class CONTENT_EXPORT BackgroundFetchRequestInfo {
 | 
| + public:
 | 
| +  BackgroundFetchRequestInfo();
 | 
| +  BackgroundFetchRequestInfo(const GURL& url, const std::string& tag);
 | 
| +  // TODO(harkness): Remove copy constructor once the final (non-map-based)
 | 
| +  // state management is in place.
 | 
| +  BackgroundFetchRequestInfo(const BackgroundFetchRequestInfo& request);
 | 
| +  ~BackgroundFetchRequestInfo();
 | 
| +
 | 
| +  const std::string& guid() const { return guid_; }
 | 
| +  const GURL& url() const { return url_; }
 | 
| +  const std::string& tag() const { return tag_; }
 | 
| +
 | 
| +  bool complete() const { return complete_; }
 | 
| +  void set_complete(bool complete) { complete_ = complete; }
 | 
| +
 | 
| + private:
 | 
| +  std::string guid_;
 | 
| +  GURL url_;
 | 
| +  std::string tag_;
 | 
| +  bool complete_ = false;
 | 
| +};
 | 
| +
 | 
| +using BackgroundFetchRequestInfos = std::vector<BackgroundFetchRequestInfo>;
 | 
| +
 | 
| +}  // namespace content
 | 
| +
 | 
| +#endif  // CONTENT_BROWSER_BACKGROUND_FETCH_REQUEST_INFO_H_
 | 
| 
 |