Chromium Code Reviews| 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 2d89cc923d5a36555eaba0c2f1108abcbee19e2b..6581e407ad5ec935743d7380afc266990c53fe44 100644 |
| --- a/components/offline_pages/client_policy_controller.h |
| +++ b/components/offline_pages/client_policy_controller.h |
| @@ -35,6 +35,10 @@ class ClientPolicyController { |
| // Get the client policy for |name_space|. |
| const OfflinePageClientPolicy& GetPolicy(const std::string& name_space) const; |
| + // Returns a list of all namespaces that are not in the list of exceptions. |
| + std::vector<std::string> GetAllNamespacesExcept( |
|
Dmitry Titov
2016/10/20 19:40:53
It's a weird method to have here... Why not "GetAl
dewittj
2016/10/21 17:49:46
Can do.
|
| + const std::vector<std::string>& exceptions) const; |
| + |
| // Returns whether pages for |name_space| should be removed on cache reset. |
| bool IsRemovedOnCacheReset(const std::string& name_space) const; |