| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/public/browser/service_worker_usage_info.h" | 5 #include "content/public/browser/service_worker_usage_info.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 ServiceWorkerUsageInfo::ServiceWorkerUsageInfo(const GURL& origin, | 9 ServiceWorkerUsageInfo::ServiceWorkerUsageInfo(const GURL& origin, |
| 10 const std::vector<GURL>& scopes) | 10 const std::vector<GURL>& scopes) |
| 11 : origin(origin), scopes(scopes) { | 11 : origin(origin), scopes(scopes), total_size_bytes(0) { |
| 12 } | 12 } |
| 13 | 13 |
| 14 ServiceWorkerUsageInfo::ServiceWorkerUsageInfo(const GURL& origin) | 14 ServiceWorkerUsageInfo::ServiceWorkerUsageInfo(const GURL& origin) |
| 15 : origin(origin) { | 15 : origin(origin), total_size_bytes(0) { |
| 16 } | 16 } |
| 17 | 17 |
| 18 ServiceWorkerUsageInfo::ServiceWorkerUsageInfo() { | 18 ServiceWorkerUsageInfo::ServiceWorkerUsageInfo() : total_size_bytes(0) { |
| 19 } | 19 } |
| 20 | 20 |
| 21 ServiceWorkerUsageInfo::~ServiceWorkerUsageInfo() { | 21 ServiceWorkerUsageInfo::~ServiceWorkerUsageInfo() { |
| 22 } | 22 } |
| 23 | 23 |
| 24 } // namespace content | 24 } // namespace content |
| OLD | NEW |