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

Unified Diff: components/offline_pages/core/background/request_coordinator.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/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

Powered by Google App Engine
This is Rietveld 408576698