OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/extensions/test_management_policy.h" | 5 #include "extensions/browser/test_management_policy.h" |
6 | 6 |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 | 8 |
9 namespace extensions { | 9 namespace extensions { |
10 | 10 |
11 TestManagementPolicyProvider::TestManagementPolicyProvider() | 11 TestManagementPolicyProvider::TestManagementPolicyProvider() |
12 : may_load_(true), | 12 : may_load_(true), |
13 may_modify_status_(true), | 13 may_modify_status_(true), |
14 must_remain_enabled_(false), | 14 must_remain_enabled_(false), |
15 must_remain_disabled_(false), | 15 must_remain_disabled_(false), |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 if (error) | 69 if (error) |
70 *error = error_message_; | 70 *error = error_message_; |
71 if (reason) | 71 if (reason) |
72 *reason = disable_reason_; | 72 *reason = disable_reason_; |
73 } | 73 } |
74 return must_remain_disabled_; | 74 return must_remain_disabled_; |
75 } | 75 } |
76 | 76 |
77 | 77 |
78 } // namespace extensions | 78 } // namespace extensions |
OLD | NEW |