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

Unified Diff: Source/modules/serviceworkers/NavigatorServiceWorker.cpp

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/NavigatorServiceWorker.cpp
diff --git a/Source/modules/serviceworkers/NavigatorServiceWorker.cpp b/Source/modules/serviceworkers/NavigatorServiceWorker.cpp
index f118fa4ef0e030926656d76ebbfb8c6b7753275c..29f4910c6659ee6dbaa833d43c6e500903b351af 100644
--- a/Source/modules/serviceworkers/NavigatorServiceWorker.cpp
+++ b/Source/modules/serviceworkers/NavigatorServiceWorker.cpp
@@ -6,7 +6,7 @@
#include "modules/serviceworkers/NavigatorServiceWorker.h"
#include "core/frame/Navigator.h"
-#include "modules/serviceworkers/NavigatorServiceWorkerInterface.h"
+#include "modules/serviceworkers/ServiceWorkerContainer.h"
namespace WebCore {
@@ -34,15 +34,15 @@ const char* NavigatorServiceWorker::supplementName()
return "NavigatorServiceWorker";
}
-NavigatorServiceWorkerInterface* NavigatorServiceWorker::serviceWorker(Navigator* navigator)
+ServiceWorkerContainer* NavigatorServiceWorker::serviceWorker(Navigator* navigator)
{
return NavigatorServiceWorker::from(navigator)->serviceWorker();
}
-NavigatorServiceWorkerInterface* NavigatorServiceWorker::serviceWorker()
+ServiceWorkerContainer* NavigatorServiceWorker::serviceWorker()
{
if (!m_serviceWorker && frame())
- m_serviceWorker = NavigatorServiceWorkerInterface::create();
+ m_serviceWorker = ServiceWorkerContainer::create();
return m_serviceWorker.get();
}
« no previous file with comments | « Source/modules/serviceworkers/NavigatorServiceWorker.h ('k') | Source/modules/serviceworkers/NavigatorServiceWorker.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698