FrameNetworkingContextImpl.h revision f486d19d62f1bc33246748b14b14a9dfa617b57f
1d012387afef0ba02185ebe27bc6bb15551912e92Havoc Pennington/*
270bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker    Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
370bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker
470bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker    This library is free software; you can redistribute it and/or
570bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker    modify it under the terms of the GNU Library General Public
670bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker    License as published by the Free Software Foundation; either
770bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker    version 2 of the License, or (at your option) any later version.
86478ec6949c6bb794237b43d03b68f80eba1288cColin Walters
970bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker    This library is distributed in the hope that it will be useful,
1070bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker    but WITHOUT ANY WARRANTY; without even the implied warranty of
1170bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1270bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker    Library General Public License for more details.
1370bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker
1470bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker    You should have received a copy of the GNU Library General Public License
1570bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker    along with this library; see the file COPYING.LIB.  If not, write to
1670bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
1770bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker    Boston, MA 02110-1301, USA.
1870bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker*/
1970bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker
2070bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker#ifndef FrameNetworkingContextImpl_h
2170bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker#define FrameNetworkingContextImpl_h
2270bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker
2370bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker#include "FrameNetworkingContext.h"
2470bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker
255baf2f856a9c6625993234855b07680da1c8916fTobias Muellernamespace WebKit {
2670bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker
2770bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habackerclass FrameNetworkingContextImpl : public WebCore::FrameNetworkingContext {
287020303391731ebfdc80da9edaff5b6c2732f024Ralf Habackerpublic:
29dbecdeabb20e0ce11121819c63373f0afba57c58Marcus Brinkmann    static PassRefPtr<FrameNetworkingContextImpl> create(WebCore::Frame* frame)
30dbecdeabb20e0ce11121819c63373f0afba57c58Marcus Brinkmann    {
3170bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker        return adoptRef(new FrameNetworkingContextImpl(frame));
3270bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker    }
3370bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker
34b3da5a03a9e5f8f60e53f40300837f833c39c80eOle André Vadla Ravnåsprivate:
35ed3df419fe1c5e9e03bbf3fc6d8899dec259e0d3Marc Mutz    FrameNetworkingContextImpl(WebCore::Frame* frame)
3670bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker        : WebCore::FrameNetworkingContext(frame)
37b3da5a03a9e5f8f60e53f40300837f833c39c80eOle André Vadla Ravnås    {
3870bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker    }
3970bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker};
4070bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker
4170bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker}
4270bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker
4370bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker#endif
4470bfc74e54ac8a9a93885710cd8350d1a58b3406Ralf Habacker