| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_TEST_UTIL_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_TEST_UTIL_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_TEST_UTIL_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_TEST_UTIL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/values.h" | 12 #include "base/values.h" |
| 13 #include "chrome/browser/extensions/extension_management_constants.h" | 13 #include "chrome/browser/extensions/extension_management_constants.h" |
| 14 #include "extensions/browser/pref_names.h" | 14 #include "extensions/browser/pref_names.h" |
| 15 #include "extensions/common/extension.h" | 15 #include "extensions/common/extension_id.h" |
| 16 | 16 |
| 17 namespace policy { | 17 namespace policy { |
| 18 class MockConfigurationPolicyProvider; | 18 class MockConfigurationPolicyProvider; |
| 19 class PolicyBundle; | 19 class PolicyBundle; |
| 20 } // namespace policy | 20 } // namespace policy |
| 21 | 21 |
| 22 namespace extensions { | 22 namespace extensions { |
| 23 | 23 |
| 24 // Base class for essential routines on preference manipulation. | 24 // Base class for essential routines on preference manipulation. |
| 25 class ExtensionManagementPrefUpdaterBase { | 25 class ExtensionManagementPrefUpdaterBase { |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 private: | 141 private: |
| 142 policy::MockConfigurationPolicyProvider* provider_; | 142 policy::MockConfigurationPolicyProvider* provider_; |
| 143 std::unique_ptr<policy::PolicyBundle> policies_; | 143 std::unique_ptr<policy::PolicyBundle> policies_; |
| 144 | 144 |
| 145 DISALLOW_COPY_AND_ASSIGN(ExtensionManagementPolicyUpdater); | 145 DISALLOW_COPY_AND_ASSIGN(ExtensionManagementPolicyUpdater); |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 } // namespace extensions | 148 } // namespace extensions |
| 149 | 149 |
| 150 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_TEST_UTIL_H_ | 150 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_TEST_UTIL_H_ |
| OLD | NEW |