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

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

Issue 806703004: [ServiceWorker] Use WebPageVisibilityState in ClientInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
Index: content/common/service_worker/service_worker_types.h
diff --git a/content/common/service_worker/service_worker_types.h b/content/common/service_worker/service_worker_types.h
index 2921680c3a213c1ee470d86fe101812e5e3eadd6..96657505b1d777dc0e9fb43f7b4d8d28ab118d5a 100644
--- a/content/common/service_worker/service_worker_types.h
+++ b/content/common/service_worker/service_worker_types.h
@@ -13,6 +13,7 @@
#include "content/common/content_export.h"
#include "content/public/common/request_context_frame_type.h"
#include "content/public/common/request_context_type.h"
+#include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
#include "third_party/WebKit/public/platform/WebServiceWorkerResponseType.h"
#include "third_party/WebKit/public/platform/WebServiceWorkerState.h"
#include "url/gurl.h"
@@ -199,7 +200,7 @@ class ChangedVersionAttributesMask {
struct ServiceWorkerClientInfo {
int client_id;
- std::string visibility_state;
+ blink::WebPageVisibilityState page_visibility_state;
bool is_focused;
GURL url;
RequestContextFrameType frame_type;
« no previous file with comments | « content/common/service_worker/service_worker_messages.h ('k') | content/public/browser/resource_request_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698