| 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/management_policy.h" | 5 #include "extensions/browser/management_policy.h" |
| 6 | 6 |
| 7 namespace extensions { | 7 namespace extensions { |
| 8 | 8 |
| 9 namespace { | 9 namespace { |
| 10 | 10 |
| 11 void GetExtensionNameAndId(const Extension* extension, | 11 void GetExtensionNameAndId(const Extension* extension, |
| 12 std::string* name, | 12 std::string* name, |
| 13 std::string* id) { | 13 std::string* id) { |
| 14 // The extension may be NULL in testing. | 14 // The extension may be NULL in testing. |
| 15 *id = extension ? extension->id() : "[test]"; | 15 *id = extension ? extension->id() : "[test]"; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 DVLOG(1) << debug_operation_name << " of extension " << name | 107 DVLOG(1) << debug_operation_name << " of extension " << name |
| 108 << " (" << id << ")" | 108 << " (" << id << ")" |
| 109 << " prohibited by " << provider->GetDebugPolicyProviderName(); | 109 << " prohibited by " << provider->GetDebugPolicyProviderName(); |
| 110 return !normal_result; | 110 return !normal_result; |
| 111 } | 111 } |
| 112 } | 112 } |
| 113 return normal_result; | 113 return normal_result; |
| 114 } | 114 } |
| 115 | 115 |
| 116 } // namespace extensions | 116 } // namespace extensions |
| OLD | NEW |