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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerContainer.h

Issue 130693010: Rename NavigatorServiceWorkerInterface to ServiceWorkerContainer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: Source/modules/serviceworkers/ServiceWorkerContainer.h
diff --git a/Source/modules/serviceworkers/NavigatorServiceWorkerInterface.h b/Source/modules/serviceworkers/ServiceWorkerContainer.h
similarity index 84%
rename from Source/modules/serviceworkers/NavigatorServiceWorkerInterface.h
rename to Source/modules/serviceworkers/ServiceWorkerContainer.h
index fb1c2aa34c48100dfdc6db1037f6758e1f2597ad..50d97b79d8a650b37db64df178194b129a0c3421 100644
--- a/Source/modules/serviceworkers/NavigatorServiceWorkerInterface.h
+++ b/Source/modules/serviceworkers/ServiceWorkerContainer.h
@@ -28,8 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef NavigatorServiceWorkerInterface_h
-#define NavigatorServiceWorkerInterface_h
+#ifndef ServiceWorkerContainer_h
+#define ServiceWorkerContainer_h
#include "bindings/v8/ScriptPromise.h"
#include "bindings/v8/ScriptWrappable.h"
@@ -46,16 +46,16 @@ namespace WebCore {
class Dictionary;
class ExecutionContext;
-class NavigatorServiceWorkerInterface FINAL : public RefCounted<NavigatorServiceWorkerInterface>, public ScriptWrappable {
+class ServiceWorkerContainer FINAL : public RefCounted<ServiceWorkerContainer>, public ScriptWrappable {
public:
- static PassRefPtr<NavigatorServiceWorkerInterface> create();
- ~NavigatorServiceWorkerInterface();
+ static PassRefPtr<ServiceWorkerContainer> create();
+ ~ServiceWorkerContainer();
ScriptPromise registerServiceWorker(ExecutionContext*, const String& pattern, const Dictionary&);
ScriptPromise unregisterServiceWorker(ExecutionContext*, const String& scope = String());
private:
- NavigatorServiceWorkerInterface();
+ ServiceWorkerContainer();
blink::WebServiceWorkerProvider* ensureProvider(ExecutionContext*);
OwnPtr<blink::WebServiceWorkerProvider> m_provider;
@@ -63,4 +63,4 @@ private:
} // namespace WebCore
-#endif // NavigatorServiceWorkerInterface_h
+#endif // ServiceWorkerContainer_h

Powered by Google App Engine
This is Rietveld 408576698