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 7ffd45496a4704ca45ed28ea028837245029e612..3a579ec66151e7f1c5a3a882750e6434dea4d1ea 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_ |