Index: components/offline_pages/core/background/save_page_request_unittest.cc |
diff --git a/components/offline_pages/background/save_page_request_unittest.cc b/components/offline_pages/core/background/save_page_request_unittest.cc |
similarity index 91% |
rename from components/offline_pages/background/save_page_request_unittest.cc |
rename to components/offline_pages/core/background/save_page_request_unittest.cc |
index 74da9b638aa83c57aa3744c9fd7341a32e799858..7fc2dcd6f2ae6cba95f35fbc9229f05014186c54 100644 |
--- a/components/offline_pages/background/save_page_request_unittest.cc |
+++ b/components/offline_pages/core/background/save_page_request_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/background/save_page_request.h" |
+#include "components/offline_pages/core/background/save_page_request.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -24,8 +24,8 @@ SavePageRequestTest::~SavePageRequestTest() {} |
TEST_F(SavePageRequestTest, CreatePendingReqeust) { |
base::Time creation_time = base::Time::Now(); |
- SavePageRequest request( |
- kRequestId, kUrl, kClientId, creation_time, kUserRequested); |
+ SavePageRequest request(kRequestId, kUrl, kClientId, creation_time, |
+ kUserRequested); |
ASSERT_EQ(kRequestId, request.request_id()); |
ASSERT_EQ(kUrl, request.url()); |
ASSERT_EQ(kClientId, request.client_id()); |
@@ -57,8 +57,7 @@ TEST_F(SavePageRequestTest, StartAndCompleteRequest) { |
// Attempt time, attempt count and status will though. |
ASSERT_EQ(start_time, request.last_attempt_time()); |
ASSERT_EQ(1, request.started_attempt_count()); |
- ASSERT_EQ(SavePageRequest::RequestState::OFFLINING, |
- request.request_state()); |
+ ASSERT_EQ(SavePageRequest::RequestState::OFFLINING, request.request_state()); |
request.MarkAttemptCompleted(); |
@@ -91,8 +90,7 @@ TEST_F(SavePageRequestTest, StartAndAbortRequest) { |
// Attempt time and attempt count will though. |
ASSERT_EQ(start_time, request.last_attempt_time()); |
ASSERT_EQ(1, request.started_attempt_count()); |
- ASSERT_EQ(SavePageRequest::RequestState::OFFLINING, |
- request.request_state()); |
+ ASSERT_EQ(SavePageRequest::RequestState::OFFLINING, request.request_state()); |
request.MarkAttemptAborted(); |