| Index: chrome/browser/chromeos/arc/fileapi/arc_content_file_system_async_file_util_unittest.cc
|
| diff --git a/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_async_file_util_unittest.cc b/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_async_file_util_unittest.cc
|
| index df1ac60e4e3e7233afcaf682526e6bf846047c2e..92e03a3a928fd269981d1ffa59872415daa35dc4 100644
|
| --- a/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_async_file_util_unittest.cc
|
| +++ b/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_async_file_util_unittest.cc
|
| @@ -2,6 +2,9 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include <memory>
|
| +#include <string>
|
| +
|
| #include "base/location.h"
|
| #include "base/run_loop.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| @@ -18,14 +21,14 @@ namespace arc {
|
|
|
| namespace {
|
|
|
| -const char kArcUrl[] = "content://org.chromium.foo/bar";
|
| -const int64_t kSize = 123456;
|
| +constexpr char kArcUrl[] = "content://org.chromium.foo/bar";
|
| +constexpr int64_t kSize = 123456;
|
|
|
| class ArcIntentHelperInstanceTestImpl : public FakeIntentHelperInstance {
|
| public:
|
| - void GetFileSize(const mojo::String& url,
|
| + void GetFileSize(const std::string& url,
|
| const GetFileSizeCallback& callback) override {
|
| - EXPECT_EQ(kArcUrl, url.get());
|
| + EXPECT_EQ(kArcUrl, url);
|
| base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE,
|
| base::Bind(callback, kSize));
|
| }
|
|
|