| Index: chrome/test/ppapi/ppapi_filechooser_browsertest.cc
|
| diff --git a/chrome/test/ppapi/ppapi_filechooser_browsertest.cc b/chrome/test/ppapi/ppapi_filechooser_browsertest.cc
|
| index 90816e996ad020f19ba9406d856d5c190fee6f25..11381ad45dfa11aa01f714064d47003edbe86b1c 100644
|
| --- a/chrome/test/ppapi/ppapi_filechooser_browsertest.cc
|
| +++ b/chrome/test/ppapi/ppapi_filechooser_browsertest.cc
|
| @@ -8,6 +8,7 @@
|
| #include "base/command_line.h"
|
| #include "base/files/file_util.h"
|
| #include "base/files/scoped_temp_dir.h"
|
| +#include "base/strings/string_util.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/test/ppapi/ppapi_test.h"
|
| @@ -164,11 +165,11 @@ class FakeDownloadProtectionService : public DownloadProtectionService {
|
| const GURL& requestor_url,
|
| const base::FilePath& default_file_path,
|
| const std::vector<base::FilePath::StringType>& alternate_extensions,
|
| - const CheckDownloadCallback& callback) override {
|
| + const CheckDownloadContentCallback& callback) override {
|
| const auto iter =
|
| test_configuration_->result_map.find(default_file_path.Extension());
|
| if (iter != test_configuration_->result_map.end()) {
|
| - callback.Run(iter->second);
|
| + callback.Run(iter->second, base::EmptyString());
|
| return;
|
| }
|
|
|
| @@ -176,12 +177,12 @@ class FakeDownloadProtectionService : public DownloadProtectionService {
|
| EXPECT_EQ(base::FilePath::kExtensionSeparator, extension[0]);
|
| const auto iter = test_configuration_->result_map.find(extension);
|
| if (iter != test_configuration_->result_map.end()) {
|
| - callback.Run(iter->second);
|
| + callback.Run(iter->second, base::EmptyString());
|
| return;
|
| }
|
| }
|
|
|
| - callback.Run(test_configuration_->default_result);
|
| + callback.Run(test_configuration_->default_result, base::EmptyString());
|
| }
|
|
|
| private:
|
|
|