2009-08-21 19:41:09 +02:00
|
|
|
// Copyright (c) 2009 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.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2009-10-02 19:59:38 +02:00
|
|
|
#include "include/cef.h"
|
2009-08-21 19:41:09 +02:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
|
|
|
|
// Convert a std::string to a std::wstring
|
|
|
|
std::wstring StringToWString(const std::string& s);
|
|
|
|
|
|
|
|
// Convert a std::wstring to a std::string
|
|
|
|
std::string WStringToString(const std::wstring& s);
|
|
|
|
|
|
|
|
// Dump the contents of the request into a string.
|
|
|
|
void DumpRequestContents(CefRefPtr<CefRequest> request, std::wstring& str);
|