blob: cb87ecb939ba4b96a5d6f56a565626b8ece0c47e [file] [log] [blame]
// Copyright 2014 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/fileapi/file_stream_reader.h"
#include "base/time/time.h"
namespace storage {
// Verify if the underlying file has not been modified.
bool FileStreamReader::VerifySnapshotTime(
const base::Time& expected_modification_time,
const base::File::Info& file_info) {
return expected_modification_time.is_null() ||
expected_modification_time.ToTimeT() ==
} // namespace storage