Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: components/policy/core/common/policy_loader_ios_unittest.mm

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #include "components/policy/core/common/policy_loader_ios.h" 5 #include "components/policy/core/common/policy_loader_ios.h"
6 6
7 #import <UIKit/UIKit.h> 7 #import <UIKit/UIKit.h>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/sequenced_task_runner.h"
13 #include "base/strings/sys_string_conversions.h" 14 #include "base/strings/sys_string_conversions.h"
14 #include "base/test/test_simple_task_runner.h" 15 #include "base/test/test_simple_task_runner.h"
15 #include "base/values.h" 16 #include "base/values.h"
16 #include "components/policy/core/common/async_policy_provider.h" 17 #include "components/policy/core/common/async_policy_provider.h"
17 #include "components/policy/core/common/configuration_policy_provider_test.h" 18 #include "components/policy/core/common/configuration_policy_provider_test.h"
18 #include "components/policy/core/common/policy_bundle.h" 19 #include "components/policy/core/common/policy_bundle.h"
19 #include "components/policy/core/common/policy_map.h" 20 #include "components/policy/core/common/policy_map.h"
20 #include "components/policy/core/common/policy_test_utils.h" 21 #include "components/policy/core/common/policy_test_utils.h"
21 #include "components/policy/core/common/policy_types.h" 22 #include "components/policy/core/common/policy_types.h"
22 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 263
263 scoped_refptr<base::TestSimpleTaskRunner> taskRunner = 264 scoped_refptr<base::TestSimpleTaskRunner> taskRunner =
264 new base::TestSimpleTaskRunner(); 265 new base::TestSimpleTaskRunner();
265 PolicyLoaderIOS loader(taskRunner); 266 PolicyLoaderIOS loader(taskRunner);
266 std::unique_ptr<PolicyBundle> bundle = loader.Load(); 267 std::unique_ptr<PolicyBundle> bundle = loader.Load();
267 ASSERT_TRUE(bundle); 268 ASSERT_TRUE(bundle);
268 EXPECT_TRUE(bundle->Equals(expected)); 269 EXPECT_TRUE(bundle->Equals(expected));
269 } 270 }
270 271
271 } // namespace policy 272 } // namespace policy
OLDNEW
« no previous file with comments | « components/policy/core/common/policy_loader_ios.h ('k') | components/policy/core/common/policy_loader_mac_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698