// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/safe_browsing/download_protection/path_sanitizer.h" #include <vector> #include "base/notreached.h" #include "base/path_service.h" #include "testing/gtest/include/gtest/gtest.h" namespace { // Returns the root directory with a trailing separator. Works on all platforms. base::FilePath GetRootDirectory() { … } } // namespace namespace safe_browsing { TEST(SafeBrowsingPathSanitizerTest, HomeDirectoryIsNotEmpty) { … } TEST(SafeBrowsingPathSanitizerTest, DontStripHomeDirectoryTest) { … } TEST(SafeBrowsingPathSanitizerTest, DoStripHomeDirectoryTest) { … } } // namespace safe_browsing