Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Unified Diff: chrome/browser/chromeos/arc/fileapi/arc_content_file_system_async_file_util_unittest.cc

Issue 2498223002: arc: enable use_new_wrapper_types for intent_helper.mojom (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/fileapi/arc_content_file_system_file_stream_reader_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/fileapi/arc_content_file_system_file_stream_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698