Chromium Code Reviews| Index: Source/core/html/parser/ResourcePreloader.h |
| diff --git a/Source/core/html/parser/ResourcePreloader.h b/Source/core/html/parser/ResourcePreloader.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..bc29e6d7a8f5f43e3dd329248b2d37a4b6e64bd0 |
| --- /dev/null |
| +++ b/Source/core/html/parser/ResourcePreloader.h |
| @@ -0,0 +1,21 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef ResourcePreloader_h |
| +#define ResourcePreloader_h |
| + |
| +#include "core/html/parser/PreloadRequest.h" |
| + |
| +namespace blink { |
| + |
| +class ResourcePreloader { |
| +public: |
| + virtual void takeAndPreload(PreloadRequestStream&); |
| +protected: |
|
kouhei (in TOK)
2015/04/30 12:59:21
This can be private
|
| + virtual void preload(PassOwnPtr<PreloadRequest>) = 0; |
| +}; |
| + |
| +} |
| + |
| +#endif |