Chromium Code Reviews| Index: chrome/browser/policy/policy_error_map.h |
| diff --git a/chrome/browser/policy/policy_error_map.h b/chrome/browser/policy/policy_error_map.h |
| index b031b227aff93347e4ca72c5912b4231a1b0277a..a2383fee4eb2ca7805b31e0d2d3608c7784c9a7b 100644 |
| --- a/chrome/browser/policy/policy_error_map.h |
| +++ b/chrome/browser/policy/policy_error_map.h |
| @@ -8,10 +8,10 @@ |
| #include <map> |
| #include <string> |
| +#include <vector> |
| #include "base/basictypes.h" |
| #include "base/string16.h" |
| -#include "base/values.h" |
| #include "policy/configuration_policy_type.h" |
| namespace policy { |
| @@ -41,10 +41,9 @@ class PolicyErrorMap { |
| int message_id, |
| const std::string& replacement_string); |
| - // Returns a list of all the error messages stored for |policy|. Returns NULL |
| - // if there are no error messages for |policy. The caller acquires ownership |
| - // of the returned ListValue pointer. |
| - ListValue* GetErrors(ConfigurationPolicyType policy); |
| + // Returns all the errors messages stored for |policy|, separated by a white |
|
Mattias Nissler (ping if slow)
2011/10/28 16:07:45
errors messages? either s/errors/error/ or drop s/
Joao da Silva
2011/10/28 16:14:10
Done.
|
| + // space. Returns an empty string if there are no errors for |policy|. |
| + string16 GetErrors(ConfigurationPolicyType policy); |
| bool empty(); |
| size_t size(); |