Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1077)

Unified Diff: Source/core/html/parser/ResourcePreloader.h

Issue 1108303002: HTMLPreloadScanner unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Actually working Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698