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

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

Issue 1439333002: Service Worker: Add Clients.get(id) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary condition Created 4 years, 10 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_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 1c81fe34816aee468fb4451ad35a0b56cc6fe66a..c4b6c34a0b1e66df8c242822014529653a458c1b 100644
--- a/content/common/service_worker/service_worker_client_info.h
+++ b/content/common/service_worker/service_worker_client_info.h
@@ -20,7 +20,8 @@ namespace content {
// constructor to fill the properties.
struct ServiceWorkerClientInfo {
ServiceWorkerClientInfo();
- ServiceWorkerClientInfo(blink::WebPageVisibilityState page_visibility_state,
+ ServiceWorkerClientInfo(const std::string& client_uuid,
+ blink::WebPageVisibilityState page_visibility_state,
bool is_focused,
const GURL& url,
RequestContextFrameType frame_type,
@@ -39,8 +40,8 @@ struct ServiceWorkerClientInfo {
bool is_focused;
GURL url;
RequestContextFrameType frame_type;
- blink::WebServiceWorkerClientType client_type;
base::TimeTicks last_focus_time;
+ blink::WebServiceWorkerClientType client_type;
};
} // namespace content
« no previous file with comments | « content/browser/service_worker/service_worker_version.cc ('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