OLD | NEW |
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 DEFINE_ATTRIBUTE_EVENT_LISTENER(install); | 64 DEFINE_ATTRIBUTE_EVENT_LISTENER(install); |
65 DEFINE_ATTRIBUTE_EVENT_LISTENER(activate); | 65 DEFINE_ATTRIBUTE_EVENT_LISTENER(activate); |
66 DEFINE_ATTRIBUTE_EVENT_LISTENER(fetch); | 66 DEFINE_ATTRIBUTE_EVENT_LISTENER(fetch); |
67 DEFINE_ATTRIBUTE_EVENT_LISTENER(message); | 67 DEFINE_ATTRIBUTE_EVENT_LISTENER(message); |
68 DEFINE_ATTRIBUTE_EVENT_LISTENER(sync); | 68 DEFINE_ATTRIBUTE_EVENT_LISTENER(sync); |
69 | 69 |
70 virtual void trace(Visitor*) OVERRIDE; | 70 virtual void trace(Visitor*) OVERRIDE; |
71 | 71 |
72 private: | 72 private: |
73 ServiceWorkerGlobalScope(const KURL&, const String& userAgent, ServiceWorker
Thread*, double timeOrigin, PassOwnPtrWillBeRawPtr<WorkerClients>); | 73 ServiceWorkerGlobalScope(const KURL&, const String& userAgent, ServiceWorker
Thread*, double timeOrigin, PassOwnPtrWillBeRawPtr<WorkerClients>); |
74 virtual void logExceptionToConsole(const String& errorMessage, const String&
sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallS
tack>) OVERRIDE; | 74 virtual void logExceptionToConsole(PassRefPtr<ConsoleMessage>) OVERRIDE; |
75 | 75 |
76 RefPtrWillBeMember<ServiceWorkerClients> m_clients; | 76 RefPtrWillBeMember<ServiceWorkerClients> m_clients; |
77 OwnPtr<FetchManager> m_fetchManager; | 77 OwnPtr<FetchManager> m_fetchManager; |
78 }; | 78 }; |
79 | 79 |
80 } // namespace WebCore | 80 } // namespace WebCore |
81 | 81 |
82 #endif // ServiceWorkerGlobalScope_h | 82 #endif // ServiceWorkerGlobalScope_h |
OLD | NEW |