| 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 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 #include "core/workers/WorkerGlobalScopeProxyProvider.h" | 34 #include "core/workers/WorkerGlobalScopeProxyProvider.h" |
| 35 #include "wtf/Noncopyable.h" | 35 #include "wtf/Noncopyable.h" |
| 36 #include "wtf/PassOwnPtr.h" | 36 #include "wtf/PassOwnPtr.h" |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 class Worker; | 40 class Worker; |
| 41 class WorkerGlobalScopeProxy; | 41 class WorkerGlobalScopeProxy; |
| 42 | 42 |
| 43 class WorkerGlobalScopeProxyProviderImpl FINAL : public NoBaseWillBeGarbageColle
ctedFinalized<WorkerGlobalScopeProxyProviderImpl>, public WorkerGlobalScopeProxy
Provider { | 43 class WorkerGlobalScopeProxyProviderImpl final : public NoBaseWillBeGarbageColle
ctedFinalized<WorkerGlobalScopeProxyProviderImpl>, public WorkerGlobalScopeProxy
Provider { |
| 44 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerGlobalScopeProxyProviderImpl); | 44 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerGlobalScopeProxyProviderImpl); |
| 45 WTF_MAKE_NONCOPYABLE(WorkerGlobalScopeProxyProviderImpl); | 45 WTF_MAKE_NONCOPYABLE(WorkerGlobalScopeProxyProviderImpl); |
| 46 public: | 46 public: |
| 47 static PassOwnPtrWillBeRawPtr<WorkerGlobalScopeProxyProviderImpl> create() | 47 static PassOwnPtrWillBeRawPtr<WorkerGlobalScopeProxyProviderImpl> create() |
| 48 { | 48 { |
| 49 return adoptPtrWillBeNoop(new WorkerGlobalScopeProxyProviderImpl()); | 49 return adoptPtrWillBeNoop(new WorkerGlobalScopeProxyProviderImpl()); |
| 50 } | 50 } |
| 51 | 51 |
| 52 virtual ~WorkerGlobalScopeProxyProviderImpl() { } | 52 virtual ~WorkerGlobalScopeProxyProviderImpl() { } |
| 53 virtual WorkerGlobalScopeProxy* createWorkerGlobalScopeProxy(Worker*) OVERRI
DE; | 53 virtual WorkerGlobalScopeProxy* createWorkerGlobalScopeProxy(Worker*) overri
de; |
| 54 | 54 |
| 55 virtual void trace(Visitor* visitor) OVERRIDE { WorkerGlobalScopeProxyProvid
er::trace(visitor); } | 55 virtual void trace(Visitor* visitor) override { WorkerGlobalScopeProxyProvid
er::trace(visitor); } |
| 56 | 56 |
| 57 private: | 57 private: |
| 58 WorkerGlobalScopeProxyProviderImpl() { } | 58 WorkerGlobalScopeProxyProviderImpl() { } |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 } // namespace blink | 61 } // namespace blink |
| 62 | 62 |
| 63 #endif // WorkerGlobalScopeProxyProviderImpl_h | 63 #endif // WorkerGlobalScopeProxyProviderImpl_h |
| OLD | NEW |