Background tracing: Simplify public interface and isolate trigger logic
[chromium-blink-merge.git] / content / public / browser / service_worker_usage_info.cc
blob6d72ea3f77a06fcc74b6331492f48e0f548a7c30
1 // Copyright 2014 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.
5 #include "content/public/browser/service_worker_usage_info.h"
7 namespace content {
9 ServiceWorkerUsageInfo::ServiceWorkerUsageInfo(const GURL& origin,
10 const std::vector<GURL>& scopes)
11 : origin(origin), scopes(scopes) {}
13 ServiceWorkerUsageInfo::ServiceWorkerUsageInfo(const GURL& origin)
14 : origin(origin) {}
16 ServiceWorkerUsageInfo::ServiceWorkerUsageInfo() : total_size_bytes(0) {
19 ServiceWorkerUsageInfo::~ServiceWorkerUsageInfo() {
22 } // namespace content