blob: f8e14fd6d886cf677e0b60995bcb608762c7fc9b [file] [log] [blame]
// Copyright 2017 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.
#include "storage/browser/test/mock_blob_registry_delegate.h"
namespace storage {
bool MockBlobRegistryDelegate::CanReadFile(const base::FilePath& file) {
return can_read_file_result;
}
bool MockBlobRegistryDelegate::CanReadFileSystemFile(const FileSystemURL& url) {
return can_read_file_system_file_result;
}
bool MockBlobRegistryDelegate::CanCommitURL(const GURL& url) {
return can_commit_url_result;
}
bool MockBlobRegistryDelegate::IsProcessValid() {
return is_process_valid_result;
}
} // namespace storage