Index: components/offline_pages/core/background/offliner_policy.h |
diff --git a/components/offline_pages/background/offliner_policy.h b/components/offline_pages/core/background/offliner_policy.h |
similarity index 95% |
rename from components/offline_pages/background/offliner_policy.h |
rename to components/offline_pages/core/background/offliner_policy.h |
index adec01be91072b35049e58f53fa7618fe22a1930..b72b48e4abd1ce510dbf3beb04e28eb0d0653a22 100644 |
--- a/components/offline_pages/background/offliner_policy.h |
+++ b/components/offline_pages/core/background/offliner_policy.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_OFFLINER_POLICY_H_ |
-#define COMPONENTS_OFFLINE_PAGES_BACKGROUND_OFFLINER_POLICY_H_ |
+#ifndef COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_OFFLINER_POLICY_H_ |
+#define COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_OFFLINER_POLICY_H_ |
namespace { |
// The max number of started tries is to guard against pages that make the |
@@ -89,9 +89,7 @@ class OfflinerPolicy { |
// completed, but failed. |
int GetMaxCompletedTries() const { return max_completed_tries_; } |
- bool PowerRequired(bool user_requested) const { |
- return (!user_requested); |
- } |
+ bool PowerRequired(bool user_requested) const { return (!user_requested); } |
bool UnmeteredNetworkRequired(bool user_requested) const { |
return !(user_requested); |
@@ -147,5 +145,4 @@ class OfflinerPolicy { |
}; |
} // namespace offline_pages |
- |
-#endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_OFFLINER_POLICY_H_ |
+#endif // COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_OFFLINER_POLICY_H_ |