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

Unified Diff: content/common/service_worker/service_worker_client_info.h

Issue 970693003: ServiceWorker: plumbing for ClientQueryOptions (2/2, chromium) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase build fix... Created 5 years, 9 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/common/DEPS ('k') | content/common/service_worker/service_worker_client_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/service_worker/service_worker_client_info.h
diff --git a/content/common/service_worker/service_worker_client_info.h b/content/common/service_worker/service_worker_client_info.h
index 64c2317c82b8301452aca9b35abe6b3c651fb6be..7a299509d5debe1d3d892d3f128a4dc684a98fe7 100644
--- a/content/common/service_worker/service_worker_client_info.h
+++ b/content/common/service_worker/service_worker_client_info.h
@@ -7,6 +7,7 @@
#include "content/public/common/request_context_frame_type.h"
#include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
+#include "third_party/WebKit/public/platform/WebServiceWorkerClientType.h"
#include "url/gurl.h"
namespace content {
@@ -21,7 +22,8 @@ struct ServiceWorkerClientInfo {
ServiceWorkerClientInfo(blink::WebPageVisibilityState page_visibility_state,
bool is_focused,
const GURL& url,
- RequestContextFrameType frame_type);
+ RequestContextFrameType frame_type,
+ blink::WebServiceWorkerClientType client_type);
// Returns whether the instance is empty.
bool IsEmpty() const;
@@ -35,6 +37,7 @@ struct ServiceWorkerClientInfo {
bool is_focused;
GURL url;
RequestContextFrameType frame_type;
+ blink::WebServiceWorkerClientType client_type;
};
} // namespace content
« no previous file with comments | « content/common/DEPS ('k') | content/common/service_worker/service_worker_client_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698