Index: components/offline_pages/core/background/request_coordinator.cc |
diff --git a/components/offline_pages/background/request_coordinator.cc b/components/offline_pages/core/background/request_coordinator.cc |
similarity index 98% |
rename from components/offline_pages/background/request_coordinator.cc |
rename to components/offline_pages/core/background/request_coordinator.cc |
index 8dcc4d94def87f3cd13e2d2d56eefe69908e5153..5d93c1d654b5c16fd7f1f306d3bedc21c2ae4a0f 100644 |
--- a/components/offline_pages/background/request_coordinator.cc |
+++ b/components/offline_pages/core/background/request_coordinator.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/request_coordinator.h" |
+#include "components/offline_pages/core/background/request_coordinator.h" |
#include <limits> |
#include <utility> |
@@ -14,13 +14,13 @@ |
#include "base/rand_util.h" |
#include "base/sys_info.h" |
#include "base/time/time.h" |
-#include "components/offline_pages/background/offliner_factory.h" |
-#include "components/offline_pages/background/offliner_policy.h" |
-#include "components/offline_pages/background/save_page_request.h" |
-#include "components/offline_pages/client_policy_controller.h" |
-#include "components/offline_pages/offline_page_feature.h" |
-#include "components/offline_pages/offline_page_item.h" |
-#include "components/offline_pages/offline_page_model.h" |
+#include "components/offline_pages/core/background/offliner_factory.h" |
+#include "components/offline_pages/core/background/offliner_policy.h" |
+#include "components/offline_pages/core/background/save_page_request.h" |
+#include "components/offline_pages/core/client_policy_controller.h" |
+#include "components/offline_pages/core/offline_page_feature.h" |
+#include "components/offline_pages/core/offline_page_item.h" |
+#include "components/offline_pages/core/offline_page_model.h" |
namespace offline_pages { |
@@ -490,8 +490,7 @@ void RequestCoordinator::ScheduleAsNeeded() { |
weak_ptr_factory_.GetWeakPtr())); |
} |
-void RequestCoordinator::StopProcessing( |
- Offliner::RequestStatus stop_status) { |
+void RequestCoordinator::StopProcessing(Offliner::RequestStatus stop_status) { |
processing_state_ = ProcessingWindowState::STOPPED; |
StopPrerendering(stop_status); |
@@ -559,7 +558,7 @@ RequestCoordinator::TryImmediateStart() { |
} |
if (GetConnectionType() == |
- net::NetworkChangeNotifier::ConnectionType::CONNECTION_NONE) |
+ net::NetworkChangeNotifier::ConnectionType::CONNECTION_NONE) |
return OfflinerImmediateStartStatus::NO_CONNECTION; |
// Start processing with manufactured conservative battery conditions |