Change CefContext::cache_path_ type from std::wstring to FilePath.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@143 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2010-11-18 14:47:38 +00:00
parent 227b9df643
commit f1e4219271
4 changed files with 15 additions and 10 deletions

View File

@ -36,12 +36,7 @@ void CefProcessIOThread::Init() {
CoInitialize(NULL);
#endif
#if defined(OS_WIN)
FilePath cache_path(_Context->cache_path());
#else
FilePath cache_path(WideToUTF8(_Context->cache_path()));
#endif
request_context_ = new BrowserRequestContext(cache_path,
net::HttpCache::NORMAL, false);
_Context->set_request_context(request_context_);