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

Side by Side Diff: chrome/browser/ui/app_list/arc/arc_app_unittest.cc

Issue 2691263002: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « chrome/browser/ui/app_list/app_list_test_util.cc ('k') | chrome/browser/ui/ash/ash_init.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <map> 9 #include <map>
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/files/file_util.h" 15 #include "base/files/file_util.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/run_loop.h" 17 #include "base/run_loop.h"
18 #include "base/task_runner_util.h" 18 #include "base/task_runner_util.h"
19 #include "base/threading/sequenced_worker_pool.h"
20 #include "base/values.h" 19 #include "base/values.h"
21 #include "chrome/browser/chromeos/arc/arc_support_host.h" 20 #include "chrome/browser/chromeos/arc/arc_support_host.h"
22 #include "chrome/browser/extensions/extension_service.h" 21 #include "chrome/browser/extensions/extension_service.h"
23 #include "chrome/browser/policy/profile_policy_connector.h" 22 #include "chrome/browser/policy/profile_policy_connector.h"
24 #include "chrome/browser/policy/profile_policy_connector_factory.h" 23 #include "chrome/browser/policy/profile_policy_connector_factory.h"
25 #include "chrome/browser/ui/app_list/app_list_test_util.h" 24 #include "chrome/browser/ui/app_list/app_list_test_util.h"
26 #include "chrome/browser/ui/app_list/arc/arc_app_icon.h" 25 #include "chrome/browser/ui/app_list/arc/arc_app_icon.h"
27 #include "chrome/browser/ui/app_list/arc/arc_app_icon_loader.h" 26 #include "chrome/browser/ui/app_list/arc/arc_app_icon_loader.h"
28 #include "chrome/browser/ui/app_list/arc/arc_app_item.h" 27 #include "chrome/browser/ui/app_list/arc/arc_app_item.h"
29 #include "chrome/browser/ui/app_list/arc/arc_app_launcher.h" 28 #include "chrome/browser/ui/app_list/arc/arc_app_launcher.h"
(...skipping 1322 matching lines...) Expand 10 before | Expand all | Expand 10 after
1352 const ArcAppListPrefs* const prefs = ArcAppListPrefs::Get(profile_.get()); 1351 const ArcAppListPrefs* const prefs = ArcAppListPrefs::Get(profile_.get());
1353 ASSERT_TRUE(prefs); 1352 ASSERT_TRUE(prefs);
1354 1353
1355 // There is no default app for managed users except Play Store 1354 // There is no default app for managed users except Play Store
1356 for (const auto& app : fake_default_apps()) { 1355 for (const auto& app : fake_default_apps()) {
1357 const std::string app_id = ArcAppTest::GetAppId(app); 1356 const std::string app_id = ArcAppTest::GetAppId(app);
1358 EXPECT_FALSE(prefs->IsRegistered(app_id)); 1357 EXPECT_FALSE(prefs->IsRegistered(app_id));
1359 EXPECT_FALSE(prefs->GetApp(app_id)); 1358 EXPECT_FALSE(prefs->GetApp(app_id));
1360 } 1359 }
1361 } 1360 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_test_util.cc ('k') | chrome/browser/ui/ash/ash_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698