| Index: chrome/browser/extensions/extension_file_browser_private_api.cc
|
| diff --git a/chrome/browser/extensions/extension_file_browser_private_api.cc b/chrome/browser/extensions/extension_file_browser_private_api.cc
|
| index 7856eb93aceb5a02bc078f191d2d59fe42dd84ed..006b3febb8b1f881be50281d4be1ed704384c7d5 100644
|
| --- a/chrome/browser/extensions/extension_file_browser_private_api.cc
|
| +++ b/chrome/browser/extensions/extension_file_browser_private_api.cc
|
| @@ -233,7 +233,7 @@ void UpdateFileHandlerUsageStats(Profile* profile, const std::string& task_id) {
|
| DictionaryPrefUpdate prefs_usage_update(profile->GetPrefs(),
|
| prefs::kLastUsedFileBrowserHandlers);
|
| prefs_usage_update->SetWithoutPathExpansion(task_id,
|
| - new base::FundamentalValue(
|
| + base::NumberValue::New(
|
| static_cast<int>(base::Time::Now().ToInternalValue()/
|
| base::Time::kMicrosecondsPerSecond)));
|
| }
|
| @@ -460,7 +460,7 @@ bool FileWatchBrowserFunctionBase::GetLocalFilePath(
|
| }
|
|
|
| void FileWatchBrowserFunctionBase::RespondOnUIThread(bool success) {
|
| - result_.reset(Value::CreateBooleanValue(success));
|
| + result_.reset(base::BooleanValue::New(success));
|
| SendResponse(success);
|
| }
|
|
|
| @@ -796,7 +796,7 @@ bool ExecuteTasksFileBrowserFunction::InitiateFileTaskExecution(
|
| source_url_,
|
| task_id,
|
| file_urls));
|
| - result_.reset(new base::FundamentalValue(true));
|
| + result_.reset(base::TrueValue());
|
| return true;
|
| }
|
|
|
| @@ -860,7 +860,7 @@ void ExecuteTasksFileBrowserFunction::ExecuteFileActionsOnUIThread(
|
| }
|
|
|
| scoped_ptr<ListValue> event_args(new ListValue());
|
| - event_args->Append(Value::CreateStringValue(action_id));
|
| + event_args->Append(base::StringValue::New(action_id));
|
| DictionaryValue* details = new DictionaryValue();
|
| event_args->Append(details);
|
| // Get file definitions. These will be replaced with Entry instances by
|
|
|