| Index: components/reading_list/ios/offline_url_utils_unittest.cc
 | 
| diff --git a/components/reading_list/ios/offline_url_utils_unittest.cc b/components/reading_list/ios/offline_url_utils_unittest.cc
 | 
| deleted file mode 100644
 | 
| index 8d9199ab9577bf43861172eaaacc778fe7448c86..0000000000000000000000000000000000000000
 | 
| --- a/components/reading_list/ios/offline_url_utils_unittest.cc
 | 
| +++ /dev/null
 | 
| @@ -1,61 +0,0 @@
 | 
| -// Copyright 2016 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 "components/reading_list/ios/offline_url_utils.h"
 | 
| -
 | 
| -#include <string>
 | 
| -
 | 
| -#include "base/files/file_path.h"
 | 
| -#include "testing/gtest/include/gtest/gtest.h"
 | 
| -#include "url/gurl.h"
 | 
| -
 | 
| -// Checks the root directory of offline pages.
 | 
| -TEST(OfflineURLUtilsTest, OfflineRootDirectoryPathTest) {
 | 
| -  base::FilePath profile_path("/profile_path");
 | 
| -  base::FilePath offline_directory =
 | 
| -      reading_list::OfflineRootDirectoryPath(profile_path);
 | 
| -  EXPECT_EQ("/profile_path/Offline", offline_directory.value());
 | 
| -}
 | 
| -
 | 
| -// Checks the offline page directory is the MD5 of the URL
 | 
| -TEST(OfflineURLUtilsTest, OfflineURLDirectoryIDTest) {
 | 
| -  GURL url("http://www.google.com/test");
 | 
| -  // MD5 of "http://www.google.com/test"
 | 
| -  std::string md5 = "0090071ef710946a1263c276284bb3b8";
 | 
| -  std::string directory_id = reading_list::OfflineURLDirectoryID(url);
 | 
| -  EXPECT_EQ(md5, directory_id);
 | 
| -}
 | 
| -
 | 
| -// Checks the offline page directory is
 | 
| -// |profile_path|/Offline/OfflineURLDirectoryID;
 | 
| -TEST(OfflineURLUtilsTest, OfflineURLDirectoryAbsolutePathTest) {
 | 
| -  base::FilePath profile_path("/profile_path");
 | 
| -  GURL url("http://www.google.com/test");
 | 
| -  base::FilePath offline_directory =
 | 
| -      reading_list::OfflineURLDirectoryAbsolutePath(profile_path, url);
 | 
| -  EXPECT_EQ("/profile_path/Offline/0090071ef710946a1263c276284bb3b8",
 | 
| -            offline_directory.value());
 | 
| -}
 | 
| -
 | 
| -// Checks the offline page directory is
 | 
| -// |profile_path|/Offline/OfflineURLDirectoryID;
 | 
| -TEST(OfflineURLUtilsTest, AbsolutePathForRelativePathTest) {
 | 
| -  base::FilePath profile_path("/profile_path");
 | 
| -  base::FilePath relative_path("relative/path");
 | 
| -  base::FilePath absolute_path =
 | 
| -      reading_list::OfflineURLAbsolutePathFromRelativePath(profile_path,
 | 
| -                                                           relative_path);
 | 
| -  EXPECT_EQ("/profile_path/Offline/relative/path", absolute_path.value());
 | 
| -}
 | 
| -
 | 
| -// Checks the offline page path is OfflineURLDirectoryID/page.html;
 | 
| -TEST(OfflineURLUtilsTest, OfflinePagePathTest) {
 | 
| -  GURL url("http://www.google.com/test");
 | 
| -  base::FilePath offline_page =
 | 
| -      reading_list::OfflinePagePath(url, reading_list::OFFLINE_TYPE_HTML);
 | 
| -  EXPECT_EQ("0090071ef710946a1263c276284bb3b8/page.html", offline_page.value());
 | 
| -  offline_page =
 | 
| -      reading_list::OfflinePagePath(url, reading_list::OFFLINE_TYPE_PDF);
 | 
| -  EXPECT_EQ("0090071ef710946a1263c276284bb3b8/file.pdf", offline_page.value());
 | 
| -}
 | 
| 
 |