| 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 "chrome/browser/policy/cloud/resource_cache.h" | 5 #include "components/policy/core/common/cloud/resource_cache.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/files/scoped_temp_dir.h" | 10 #include "base/files/scoped_temp_dir.h" |
| 11 #include "base/test/test_simple_task_runner.h" | 11 #include "base/test/test_simple_task_runner.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 13 | 13 |
| 14 namespace policy { | 14 namespace policy { |
| 15 | 15 |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 EXPECT_EQ(kData0, contents[kSubC]); | 148 EXPECT_EQ(kData0, contents[kSubC]); |
| 149 | 149 |
| 150 // Other keys weren't affected. | 150 // Other keys weren't affected. |
| 151 cache.LoadAllSubkeys(kKey2, &contents); | 151 cache.LoadAllSubkeys(kKey2, &contents); |
| 152 EXPECT_EQ(2u, contents.size()); | 152 EXPECT_EQ(2u, contents.size()); |
| 153 cache.LoadAllSubkeys(kKey3, &contents); | 153 cache.LoadAllSubkeys(kKey3, &contents); |
| 154 EXPECT_EQ(2u, contents.size()); | 154 EXPECT_EQ(2u, contents.size()); |
| 155 } | 155 } |
| 156 | 156 |
| 157 } // namespace policy | 157 } // namespace policy |
| OLD | NEW |