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

Unified Diff: components/offline_pages/client_policy_controller.h

Issue 2289143005: [Offline pages] Add a builder and feature struct to policy (Closed)
Patch Set: Renaming Created 4 years, 3 months 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/client_policy_controller.h
diff --git a/components/offline_pages/client_policy_controller.h b/components/offline_pages/client_policy_controller.h
index 231d028d4a6e3bf0e79ce41e35efee983c47bce5..ba13c3330f01604623bb9e42ca8637ae2d8a4725 100644
--- a/components/offline_pages/client_policy_controller.h
+++ b/components/offline_pages/client_policy_controller.h
@@ -33,6 +33,12 @@ class ClientPolicyController {
// Get the client policy for |name_space|.
const OfflinePageClientPolicy& GetPolicy(const std::string& name_space) const;
+ // Returns whether the policy for |name_space| is user requested.
fgorski 2016/09/07 03:25:05 Returns whether offline pages belonging to |name_s
chili 2016/09/12 17:39:00 Done.
+ bool IsRemovedOnCacheReset(const std::string& name_space) const;
+
+ // Returns whether the policy for |name_space| is downloaded.
fgorski 2016/09/07 03:25:05 Returns whether offline pages belonging to |name_s
chili 2016/09/12 17:39:00 Done.
+ bool IsSupportedByDownload(const std::string& name_space) const;
+
private:
// The map from name_space to a client policy. Will be generated
// as pre-defined values for now.

Powered by Google App Engine
This is Rietveld 408576698