OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 <string> | 5 #include <string> |
6 | 6 |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "chrome/browser/policy/browser_policy_connector.h" | 10 #include "chrome/browser/policy/browser_policy_connector.h" |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 | 198 |
199 // During teardown, an empty power management policy should be sent to the | 199 // During teardown, an empty power management policy should be sent to the |
200 // backend. | 200 // backend. |
201 power_management_policy.Clear(); | 201 power_management_policy.Clear(); |
202 EXPECT_CALL(*power_manager_client_, SetPolicy( | 202 EXPECT_CALL(*power_manager_client_, SetPolicy( |
203 PowerManagementPolicyMatches(power_management_policy))); | 203 PowerManagementPolicyMatches(power_management_policy))); |
204 EXPECT_CALL(*power_manager_client_, RemoveObserver(_)).Times(AnyNumber()); | 204 EXPECT_CALL(*power_manager_client_, RemoveObserver(_)).Times(AnyNumber()); |
205 } | 205 } |
206 | 206 |
207 } // namespace policy | 207 } // namespace policy |
OLD | NEW |