cef/libcef/response_impl.h
Marshall Greenblatt a125c0d964 - Add CefWebURLRequest implementation (issue #51).
- Default new CefRequest objects to the "GET" method.
- Send URL and title change notifications for CefFrame::LoadString().
- Disable the RequestTest.HistoryNav test which requires WebKit patches.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@184 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-02-09 22:04:35 +00:00

34 lines
805 B
C++

// Copyright (c) 2011 The Chromium Embedded Framework 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 _RESPONSE_IMPL_H
#define _RESPONSE_IMPL_H
#include "include/cef.h"
namespace WebKit {
class WebURLResponse;
};
// Implementation of CefResponse.
class CefResponseImpl : public CefThreadSafeBase<CefResponse>
{
public:
CefResponseImpl(const WebKit::WebURLResponse& response);
~CefResponseImpl() {}
// CefResponse API
virtual int GetStatus();
virtual CefString GetStatusText();
virtual CefString GetHeader(const CefString& name);
virtual void GetHeaderMap(HeaderMap& headerMap);
protected:
int status_code_;
CefString status_text_;
HeaderMap header_map_;
};
#endif // _RESPONSE_IMPL_H