Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
|
dominicc (has gone to gerrit)
2014/08/04 01:13:48
Can you change the CL description to capitalize Se
| |
| 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 |
| 11 * copyright notice, this list of conditions and the following disclaimer | 11 * copyright notice, this list of conditions and the following disclaimer |
| (...skipping 52 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 importScripts(const Vector<String>& urls, ExceptionState&) OVER RIDE; | |
| 74 virtual void logExceptionToConsole(const String& errorMessage, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallS tack>) OVERRIDE; | 75 virtual void logExceptionToConsole(const String& errorMessage, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallS tack>) OVERRIDE; |
| 75 | 76 |
| 76 RefPtrWillBeMember<ServiceWorkerClients> m_clients; | 77 RefPtrWillBeMember<ServiceWorkerClients> m_clients; |
| 77 OwnPtr<FetchManager> m_fetchManager; | 78 OwnPtr<FetchManager> m_fetchManager; |
| 78 }; | 79 }; |
| 79 | 80 |
| 80 } // namespace blink | 81 } // namespace blink |
| 81 | 82 |
| 82 #endif // ServiceWorkerGlobalScope_h | 83 #endif // ServiceWorkerGlobalScope_h |
| OLD | NEW |