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 231d028d4a6e3bf0e79ce41e35efee983c47bce5..92c4b2aaad726a4688e26ca6584c2e180aab03cb 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. |
| + bool IsUserRequested(const std::string& name_space) const; |
|
Dmitry Titov
2016/09/01 00:06:12
Naming - it is not "user requested" that we actual
chili
2016/09/06 20:55:20
Done.
|
| + |
| + // Returns whether the policy for |name_space| is downloaded. |
|
dewittj
2016/09/12 18:06:35
This is worded strangely, does it mean that it sho
chili
2016/09/12 21:24:06
Please see latest upload. I think it clears this
|
| + bool IsDownloaded(const std::string& name_space) const; |
|
Dmitry Titov
2016/09/01 00:06:12
Naming - if this is to replace the filter in Downl
chili
2016/09/06 20:55:20
How does 'IsSupportedByDownload' sound? While I t
|
| + |
| private: |
| // The map from name_space to a client policy. Will be generated |
| // as pre-defined values for now. |