projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git]
/
src
/
content
/
browser
/
service_worker
/
service_worker_registration_handle.h
diff --git
a/src/content/browser/service_worker/service_worker_registration_handle.h
b/src/content/browser/service_worker/service_worker_registration_handle.h
index
1831636
..
d6d7e05
100644
(file)
--- a/
src/content/browser/service_worker/service_worker_registration_handle.h
+++ b/
src/content/browser/service_worker/service_worker_registration_handle.h
@@
-33,6
+33,10
@@
class ServiceWorkerRegistrationHandle
ServiceWorkerRegistration* registration);
virtual ~ServiceWorkerRegistrationHandle();
ServiceWorkerRegistration* registration);
virtual ~ServiceWorkerRegistrationHandle();
+ ServiceWorkerRegistrationObjectInfo GetObjectInfo();
+ ServiceWorkerObjectInfo CreateServiceWorkerHandleAndPass(
+ ServiceWorkerVersion* version);
+
bool HasNoRefCount() const { return ref_count_ <= 0; }
void IncrementRefCount();
void DecrementRefCount();
bool HasNoRefCount() const { return ref_count_ <= 0; }
void IncrementRefCount();
void DecrementRefCount();
@@
-50,6
+54,8
@@
class ServiceWorkerRegistrationHandle
const ServiceWorkerRegistrationInfo& info) OVERRIDE;
virtual void OnRegistrationFailed(
ServiceWorkerRegistration* registration) OVERRIDE;
const ServiceWorkerRegistrationInfo& info) OVERRIDE;
virtual void OnRegistrationFailed(
ServiceWorkerRegistration* registration) OVERRIDE;
+ virtual void OnUpdateFound(
+ ServiceWorkerRegistration* registration) OVERRIDE;
// Sets the corresponding version field to the given version or if the given
// version is NULL, clears the field.
// Sets the corresponding version field to the given version or if the given
// version is NULL, clears the field.
@@
-61,9
+67,6
@@
class ServiceWorkerRegistrationHandle
// Clears all version fields.
void ClearVersionAttributes();
// Clears all version fields.
void ClearVersionAttributes();
- ServiceWorkerObjectInfo CreateServiceWorkerHandleAndPass(
- ServiceWorkerVersion* version);
-
base::WeakPtr<ServiceWorkerContextCore> context_;
ServiceWorkerDispatcherHost* dispatcher_host_;
const int provider_id_;
base::WeakPtr<ServiceWorkerContextCore> context_;
ServiceWorkerDispatcherHost* dispatcher_host_;
const int provider_id_;