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

Side by Side Diff: Source/modules/serviceworkers/ServiceWorkerContainer.h

Issue 835673006: Use caller's document url to resolve scriptURL/patternURL in registerServiceWorker/getRegistration (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 private: 90 private:
91 explicit ServiceWorkerContainer(ExecutionContext*); 91 explicit ServiceWorkerContainer(ExecutionContext*);
92 92
93 typedef ScriptPromiseProperty<Member<ServiceWorkerContainer>, Member<Service WorkerRegistration>, Member<ServiceWorkerRegistration> > ReadyProperty; 93 typedef ScriptPromiseProperty<Member<ServiceWorkerContainer>, Member<Service WorkerRegistration>, Member<ServiceWorkerRegistration> > ReadyProperty;
94 ReadyProperty* createReadyProperty(); 94 ReadyProperty* createReadyProperty();
95 95
96 WebServiceWorkerProvider* m_provider; 96 WebServiceWorkerProvider* m_provider;
97 RefPtrWillBeMember<ServiceWorker> m_controller; 97 RefPtrWillBeMember<ServiceWorker> m_controller;
98 Member<ServiceWorkerRegistration> m_readyRegistration; 98 Member<ServiceWorkerRegistration> m_readyRegistration;
99 Member<ReadyProperty> m_ready; 99 Member<ReadyProperty> m_ready;
100 RawPtrWillBeMember<ExecutionContext> m_executionContext;
dominicc (has gone to gerrit) 2015/01/19 03:19:08 Likewise, does this potentially cause a cycle? Bec
100 }; 101 };
101 102
102 } // namespace blink 103 } // namespace blink
103 104
104 #endif // ServiceWorkerContainer_h 105 #endif // ServiceWorkerContainer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698