1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ash / public / cpp / test / mock_projector_client.cc [blame]
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/public/cpp/test/mock_projector_client.h"
#include "base/check.h"
namespace ash {
MockProjectorClient::MockProjectorClient() {
const bool result = screencast_container_path_.CreateUniqueTempDir();
DCHECK(result);
}
MockProjectorClient::~MockProjectorClient() = default;
bool MockProjectorClient::GetBaseStoragePath(base::FilePath* result) const {
*result = screencast_container_path_.GetPath();
return true;
}
} // namespace ash