| Index: content/browser/renderer_host/pepper_file_message_filter.cc
|
| diff --git a/content/browser/renderer_host/pepper_file_message_filter.cc b/content/browser/renderer_host/pepper_file_message_filter.cc
|
| index d6abca9321dd3f87091bbb4cdc438ae0c768980c..722db59fa749d4daf5608d183480e8cc89a5fb25 100644
|
| --- a/content/browser/renderer_host/pepper_file_message_filter.cc
|
| +++ b/content/browser/renderer_host/pepper_file_message_filter.cc
|
| @@ -41,8 +41,7 @@ PepperFileMessageFilter::PepperFileMessageFilter(
|
| int child_id, content::BrowserContext* browser_context)
|
| : child_id_(child_id),
|
| channel_(NULL) {
|
| - pepper_path_ =
|
| - browser_context->GetPath().Append(FILE_PATH_LITERAL("Pepper Data"));
|
| + pepper_path_ = GetDataDirName(browser_context->GetPath());
|
| }
|
|
|
| PepperFileMessageFilter::~PepperFileMessageFilter() {
|
| @@ -76,6 +75,11 @@ void PepperFileMessageFilter::OnDestruct() const {
|
| BrowserThread::DeleteOnIOThread::Destruct(this);
|
| }
|
|
|
| +// static
|
| +FilePath PepperFileMessageFilter::GetDataDirName(const FilePath& profile_path) {
|
| + return profile_path.Append(FILE_PATH_LITERAL("Pepper Data"));
|
| +}
|
| +
|
| // Called on the FILE thread:
|
| void PepperFileMessageFilter::OnOpenFile(
|
| const webkit::ppapi::PepperFilePath& path,
|
|
|