Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 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 ModuleScriptLoaderClient_h | |
| 6 #define ModuleScriptLoaderClient_h | |
| 7 | |
| 8 #include "platform/heap/Handle.h" | |
| 9 | |
| 10 namespace blink { | |
| 11 | |
| 12 class ModuleScript; | |
| 13 | |
| 14 // A ModuleScriptLoaderClient is notified when a single module script load is | |
| 15 // complete. | |
| 16 // Note: Its corresponding module map entry is typically not yet created at the | |
| 17 // time of callback. | |
| 18 class ModuleScriptLoaderClient : public GarbageCollectedMixin { | |
|
yhirano
2017/01/06 07:27:01
A virtual destructor is needed.
kouhei (in TOK)
2017/01/11 01:41:57
Done.
| |
| 19 private: | |
| 20 friend class ModuleScriptLoader; | |
| 21 virtual void notifyFinishedNewSingleModule(ModuleScript*) = 0; | |
| 22 }; | |
| 23 | |
| 24 } // namespace blink | |
| 25 | |
| 26 #endif | |
| OLD | NEW |