Chromium Code Reviews| Index: Source/platform/PlatformResourceLoader.h |
| diff --git a/Source/bindings/modules/v8/ModuleBindingsInitializer.h b/Source/platform/PlatformResourceLoader.h |
| similarity index 51% |
| copy from Source/bindings/modules/v8/ModuleBindingsInitializer.h |
| copy to Source/platform/PlatformResourceLoader.h |
| index 892bb0ba9eded41f17a2d45d60cd9ca8330227c4..900e473de467ba93f05ba58668b59d42051fee02 100644 |
| --- a/Source/bindings/modules/v8/ModuleBindingsInitializer.h |
| +++ b/Source/platform/PlatformResourceLoader.h |
| @@ -2,16 +2,15 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef ModuleBindingsInitializer_h |
| -#define ModuleBindingsInitializer_h |
| +#ifndef PlatformResourceLoader_h |
| +#define PlatformResourceLoader_h |
| + |
| +#include "wtf/text/WTFString.h" |
| namespace blink { |
| -class ModuleBindingsInitializer { |
| -public: |
| - static void init(); |
| -}; |
| +WTF::String loadResourceAsASCIIString(const char* resource); |
|
eseidel
2014/09/04 07:05:34
No need for WTF::
vivekg
2014/09/04 07:44:28
Done. Also added missing PLATFORM_EXPORT
|
| } // namespace blink |
| -#endif |
| +#endif // PlatformResourceLoader_h |