Chromium Code Reviews| Index: content/browser/service_worker/service_worker_info.h |
| diff --git a/content/browser/service_worker/service_worker_info.h b/content/browser/service_worker/service_worker_info.h |
| index 461657536c19cced32871a646381157937851183..02d4b444988f9a9c5690afdb7dec1545fbad2e46 100644 |
| --- a/content/browser/service_worker/service_worker_info.h |
| +++ b/content/browser/service_worker/service_worker_info.h |
| @@ -9,6 +9,7 @@ |
| #include <vector> |
| +#include "base/callback.h" |
| #include "base/time/time.h" |
| #include "content/browser/service_worker/service_worker_version.h" |
| #include "content/common/content_export.h" |
| @@ -24,10 +25,15 @@ struct CONTENT_EXPORT ServiceWorkerVersionInfo { |
| struct CONTENT_EXPORT ClientInfo { |
| public: |
| ClientInfo(); |
| - ClientInfo(int process_id, int route_id, ServiceWorkerProviderType type); |
| + ClientInfo(int process_id, |
| + int route_id, |
| + const base::Callback<WebContents*(void)>& web_contents_getter, |
| + ServiceWorkerProviderType type); |
| + ClientInfo(const ClientInfo& other); |
| ~ClientInfo(); |
| int process_id; |
| int route_id; |
|
falken
2017/06/01 07:37:27
Does it make sense to say:
// |web_contents_gette
arthursonzogni
2017/06/01 08:14:08
Done.
|
| + base::Callback<WebContents*(void)> web_contents_getter; |
| ServiceWorkerProviderType type; |
| }; |