Index: Source/core/platform/network/Preconnect.h |
diff --git a/Source/modules/quota/StorageQuotaCallback.h b/Source/core/platform/network/Preconnect.h |
similarity index 82% |
copy from Source/modules/quota/StorageQuotaCallback.h |
copy to Source/core/platform/network/Preconnect.h |
index d281f4965552fc182b255a23931913f3b5a3d6b4..40fbc12270839e2995d513d5c8690fafb808b47b 100644 |
--- a/Source/modules/quota/StorageQuotaCallback.h |
+++ b/Source/core/platform/network/Preconnect.h |
@@ -28,19 +28,23 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef StorageQuotaCallback_h |
-#define StorageQuotaCallback_h |
+#ifndef Preconnect_h |
+#define Preconnect_h |
-#include "wtf/RefCounted.h" |
+#include "core/platform/KURL.h" |
+#include "wtf/Forward.h" |
namespace WebCore { |
-class StorageQuotaCallback : public RefCounted<StorageQuotaCallback> { |
-public: |
- virtual ~StorageQuotaCallback() { } |
- virtual bool handleEvent(unsigned long long grantedQuotaInBytes) = 0; |
+enum PreconnectMotivation { |
+ PreconnectMotivationLinkMouseDown, |
+ PreconnectMotivationLinkMouseOver, |
+ PreconnectMotivationLinkTapUnconfirmed, |
+ PreconnectMotivationLinkTapDown, |
}; |
abarth-chromium
2013/05/14 06:18:56
There's no need for this enum. Code can just use
kouhei (in TOK)
2013/05/14 06:34:07
Done.
|
-} // namespace |
+void preconnect(const KURL&, PreconnectMotivation); |
abarth-chromium
2013/05/14 06:18:56
There's no need for this file. Please delete it.
kouhei (in TOK)
2013/05/14 06:34:07
Done.
|
-#endif // StorageQuotaCallback_h |
+} |
+ |
+#endif |