blob: 88d534bfd8cb56488b202be78e7fe94fd773e8e8 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_ARC_SESSION_ARC_VM_CLIENT_ADAPTER_H_
#define COMPONENTS_ARC_SESSION_ARC_VM_CLIENT_ADAPTER_H_
#include <memory>
#include "base/callback.h"
#include "components/arc/session/arc_client_adapter.h"
#include "components/arc/session/file_system_status.h"
#include "components/version_info/channel.h"
namespace arc {
// Returns an adapter for arcvm.
std::unique_ptr<ArcClientAdapter> CreateArcVmClientAdapter(
version_info::Channel channel);
using FileSystemStatusRewriter =
base::RepeatingCallback<void(FileSystemStatus*)>;
std::unique_ptr<ArcClientAdapter> CreateArcVmClientAdapterForTesting(
version_info::Channel channel,
const FileSystemStatusRewriter& rewriter);
} // namespace arc
#endif // COMPONENTS_ARC_SESSION_ARC_VM_CLIENT_ADAPTER_H_