1// Copyright 2014 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef WebServiceWorkerRegistration_h 6#define WebServiceWorkerRegistration_h 7 8#include "public/platform/WebURL.h" 9 10namespace blink { 11 12class WebServiceWorkerRegistrationProxy; 13 14class WebServiceWorkerRegistration { 15public: 16 virtual ~WebServiceWorkerRegistration() { } 17 18 virtual void setProxy(WebServiceWorkerRegistrationProxy*) { } 19 virtual WebServiceWorkerRegistrationProxy* proxy() { return 0; } 20 virtual void proxyStopped() { } 21 22 virtual WebURL scope() const { return WebURL(); } 23}; 24 25} // namespace blink 26 27#endif // WebServiceWorkerRegistration_h 28