Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Unified Diff: components/offline_pages/core/archive_manager_unittest.cc

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: more rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/offline_pages/core/archive_manager_unittest.cc
diff --git a/components/offline_pages/archive_manager_unittest.cc b/components/offline_pages/core/archive_manager_unittest.cc
similarity index 97%
rename from components/offline_pages/archive_manager_unittest.cc
rename to components/offline_pages/core/archive_manager_unittest.cc
index bc50b4f4175fb0bd8c5aacb3c30a78dd60e62dc5..57f868a872c7792bb402dcac1412f971b9da74a0 100644
--- a/components/offline_pages/archive_manager_unittest.cc
+++ b/components/offline_pages/core/archive_manager_unittest.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/offline_pages/archive_manager.h"
+#include "components/offline_pages/core/archive_manager.h"
#include <algorithm>
#include <memory>
@@ -20,8 +20,8 @@
namespace offline_pages {
namespace {
-const base::FilePath::CharType kMissingArchivePath[] = FILE_PATH_LITERAL(
- "missing_archive.path");
+const base::FilePath::CharType kMissingArchivePath[] =
+ FILE_PATH_LITERAL("missing_archive.path");
} // namespace
enum class CallbackStatus {
@@ -188,8 +188,8 @@ TEST_F(ArchiveManagerTest, DeleteMultipleArchivesSomeDoNotExist) {
TEST_F(ArchiveManagerTest, DeleteMultipleArchivesNoneExist) {
base::FilePath archive_path_1 = temp_path().Append(kMissingArchivePath);
- base::FilePath archive_path_2 = temp_path().Append(FILE_PATH_LITERAL(
- "other_missing_file.mhtml"));
+ base::FilePath archive_path_2 =
+ temp_path().Append(FILE_PATH_LITERAL("other_missing_file.mhtml"));
base::FilePath archive_path_3;
EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_path(), &archive_path_3));

Powered by Google App Engine
This is Rietveld 408576698