Index: components/offline_pages/core/background/device_conditions.h |
diff --git a/components/offline_pages/background/device_conditions.h b/components/offline_pages/core/background/device_conditions.h |
similarity index 83% |
rename from components/offline_pages/background/device_conditions.h |
rename to components/offline_pages/core/background/device_conditions.h |
index b96306a4d4b949cddb7cfba34f325b7ac76c45ae..25245a594e56949ecc184d4d45724c6d93de4092 100644 |
--- a/components/offline_pages/background/device_conditions.h |
+++ b/components/offline_pages/core/background/device_conditions.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef COMPONENTS_OFFLINE_PAGES_BACKGROUND_DEVICE_CONDITIONS_H_ |
-#define COMPONENTS_OFFLINE_PAGES_BACKGROUND_DEVICE_CONDITIONS_H_ |
+#ifndef COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_DEVICE_CONDITIONS_H_ |
+#define COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_DEVICE_CONDITIONS_H_ |
#include "net/base/network_change_notifier.h" |
@@ -21,7 +21,8 @@ class DeviceConditions { |
net_connection_type_(net_connection_type) {} |
DeviceConditions() |
- : power_connected_(true), battery_percentage_(75), |
+ : power_connected_(true), |
+ battery_percentage_(75), |
net_connection_type_(net::NetworkChangeNotifier::CONNECTION_WIFI) {} |
// Returns whether power is connected. |
@@ -45,4 +46,4 @@ class DeviceConditions { |
} // namespace offline_pages |
-#endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_DEVICE_CONDITIONS_H_ |
+#endif // COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_DEVICE_CONDITIONS_H_ |