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

@@ -31,7 +31,7 @@ public:
// These methods will be called on the main application thread.
bool Initialize(bool multi_threaded_message_loop,
const std::wstring& cache_path);
const FilePath& cache_path);
void Shutdown();
scoped_refptr<CefProcess> process() { return process_; }
@@ -43,7 +43,7 @@ public:
// Retrieve the path at which cache data will be stored on disk. If empty,
// cache data will be stored in-memory.
const std::wstring& cache_path() { return cache_path_; }
const FilePath& cache_path() { return cache_path_; }
WebPreferences* web_preferences()
{
@@ -70,7 +70,7 @@ private:
// asserts and possible memory leaks.
base::AtExitManager at_exit_manager_;
std::wstring cache_path_;
FilePath cache_path_;
WebPreferences* webprefs_;
scoped_refptr<BrowserRequestContext> request_context_;
scoped_ptr<DOMStorageContext> storage_context_;