| OLD | NEW |
| 1 // Copyright 2011, Google Inc. | 1 // Copyright 2011, Google Inc. |
| 2 // All rights reserved. | 2 // 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 UrlSet m_importedLibraries; | 84 UrlSet m_importedLibraries; |
| 85 UrlMultiMap m_importersForSource; | 85 UrlMultiMap m_importersForSource; |
| 86 | 86 |
| 87 // Sources of resources loaded from the URL. | 87 // Sources of resources loaded from the URL. |
| 88 // We save them verbatim to be able to reinject them later. | 88 // We save them verbatim to be able to reinject them later. |
| 89 HashMap<String, String> m_sources; | 89 HashMap<String, String> m_sources; |
| 90 | 90 |
| 91 bool m_mainScriptHasBeenLoaded; | 91 bool m_mainScriptHasBeenLoaded; |
| 92 | 92 |
| 93 friend class ScriptLoadCallback; | 93 friend class ScriptLoadCallback; |
| 94 friend class Timeline; |
| 94 }; | 95 }; |
| 95 | 96 |
| 96 // FIXME: consolidate when we have multiple isolates. | 97 // FIXME: consolidate when we have multiple isolates. |
| 97 // FIXME: merge with DartUtilities' per isolate data. | 98 // FIXME: merge with DartUtilities' per isolate data. |
| 98 typedef HashMap<Dart_Isolate, DartApplicationLoader*> IsolateToDartApplicationLo
aderMap; | 99 typedef HashMap<Dart_Isolate, DartApplicationLoader*> IsolateToDartApplicationLo
aderMap; |
| 99 | 100 |
| 100 IsolateToDartApplicationLoaderMap& isolateToDartApplicationLoaderMap(); | 101 IsolateToDartApplicationLoaderMap& isolateToDartApplicationLoaderMap(); |
| 101 } | 102 } |
| 102 | 103 |
| 103 #endif // DartApplicationLoader_h | 104 #endif // DartApplicationLoader_h |
| OLD | NEW |