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/policy/user_cloud_policy_store.h" | 5 #include "chrome/browser/policy/user_cloud_policy_store.h" |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
9 #include "chrome/browser/policy/policy_builder.h" | 9 #include "chrome/browser/policy/policy_builder.h" |
10 #include "chrome/browser/signin/signin_manager.h" | 10 #include "chrome/browser/signin/signin_manager.h" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 store_->Store(policy_.policy()); | 124 store_->Store(policy_.policy()); |
125 base::RunLoop run_loop; | 125 base::RunLoop run_loop; |
126 run_loop.RunUntilIdle(); | 126 run_loop.RunUntilIdle(); |
127 ASSERT_FALSE(store_->policy()); | 127 ASSERT_FALSE(store_->policy()); |
128 } | 128 } |
129 | 129 |
130 } // namespace | 130 } // namespace |
131 | 131 |
132 } // namespace policy | 132 } // namespace policy |
133 | 133 |
OLD | NEW |