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

Side by Side Diff: chrome/browser/chromeos/policy/device_local_account_browsertest.cc

Issue 109743002: Move policy code into components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar fixes Created 7 years 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 | Annotate | Revision Log
OLDNEW
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 <map> 5 #include <map>
6 #include <string> 6 #include <string>
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "chrome/browser/chromeos/login/wizard_controller.h" 46 #include "chrome/browser/chromeos/login/wizard_controller.h"
47 #include "chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_u til.h" 47 #include "chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_u til.h"
48 #include "chrome/browser/chromeos/policy/device_local_account.h" 48 #include "chrome/browser/chromeos/policy/device_local_account.h"
49 #include "chrome/browser/chromeos/policy/device_local_account_policy_service.h" 49 #include "chrome/browser/chromeos/policy/device_local_account_policy_service.h"
50 #include "chrome/browser/chromeos/policy/device_policy_builder.h" 50 #include "chrome/browser/chromeos/policy/device_policy_builder.h"
51 #include "chrome/browser/chromeos/policy/device_policy_cros_browser_test.h" 51 #include "chrome/browser/chromeos/policy/device_policy_cros_browser_test.h"
52 #include "chrome/browser/extensions/extension_service.h" 52 #include "chrome/browser/extensions/extension_service.h"
53 #include "chrome/browser/extensions/extension_system.h" 53 #include "chrome/browser/extensions/extension_system.h"
54 #include "chrome/browser/lifetime/application_lifetime.h" 54 #include "chrome/browser/lifetime/application_lifetime.h"
55 #include "chrome/browser/policy/browser_policy_connector.h" 55 #include "chrome/browser/policy/browser_policy_connector.h"
56 #include "chrome/browser/policy/cloud/cloud_policy_constants.h"
57 #include "chrome/browser/policy/cloud/cloud_policy_core.h"
58 #include "chrome/browser/policy/cloud/cloud_policy_store.h"
59 #include "chrome/browser/policy/cloud/policy_builder.h"
60 #include "chrome/browser/policy/policy_service.h"
61 #include "chrome/browser/policy/profile_policy_connector.h" 56 #include "chrome/browser/policy/profile_policy_connector.h"
62 #include "chrome/browser/policy/profile_policy_connector_factory.h" 57 #include "chrome/browser/policy/profile_policy_connector_factory.h"
63 #include "chrome/browser/policy/proto/chromeos/chrome_device_policy.pb.h" 58 #include "chrome/browser/policy/proto/chromeos/chrome_device_policy.pb.h"
64 #include "chrome/browser/policy/test/local_policy_test_server.h" 59 #include "chrome/browser/policy/test/local_policy_test_server.h"
65 #include "chrome/browser/prefs/session_startup_pref.h" 60 #include "chrome/browser/prefs/session_startup_pref.h"
66 #include "chrome/browser/profiles/profile.h" 61 #include "chrome/browser/profiles/profile.h"
67 #include "chrome/browser/profiles/profile_manager.h" 62 #include "chrome/browser/profiles/profile_manager.h"
68 #include "chrome/browser/ui/browser.h" 63 #include "chrome/browser/ui/browser.h"
69 #include "chrome/browser/ui/browser_commands.h" 64 #include "chrome/browser/ui/browser_commands.h"
70 #include "chrome/browser/ui/browser_finder.h" 65 #include "chrome/browser/ui/browser_finder.h"
71 #include "chrome/browser/ui/browser_list.h" 66 #include "chrome/browser/ui/browser_list.h"
72 #include "chrome/browser/ui/browser_window.h" 67 #include "chrome/browser/ui/browser_window.h"
73 #include "chrome/browser/ui/host_desktop.h" 68 #include "chrome/browser/ui/host_desktop.h"
74 #include "chrome/browser/ui/tabs/tab_strip_model.h" 69 #include "chrome/browser/ui/tabs/tab_strip_model.h"
75 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" 70 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h"
76 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" 71 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h"
77 #include "chrome/common/chrome_paths.h" 72 #include "chrome/common/chrome_paths.h"
78 #include "chrome/common/chrome_switches.h" 73 #include "chrome/common/chrome_switches.h"
79 #include "chromeos/chromeos_paths.h" 74 #include "chromeos/chromeos_paths.h"
80 #include "chromeos/chromeos_switches.h" 75 #include "chromeos/chromeos_switches.h"
81 #include "chromeos/dbus/fake_session_manager_client.h" 76 #include "chromeos/dbus/fake_session_manager_client.h"
77 #include "components/policy/core/common/cloud/cloud_policy_constants.h"
78 #include "components/policy/core/common/cloud/cloud_policy_core.h"
79 #include "components/policy/core/common/cloud/cloud_policy_store.h"
80 #include "components/policy/core/common/cloud/policy_builder.h"
82 #include "components/policy/core/common/external_data_fetcher.h" 81 #include "components/policy/core/common/external_data_fetcher.h"
83 #include "components/policy/core/common/policy_map.h" 82 #include "components/policy/core/common/policy_map.h"
84 #include "components/policy/core/common/policy_namespace.h" 83 #include "components/policy/core/common/policy_namespace.h"
84 #include "components/policy/core/common/policy_service.h"
85 #include "content/public/browser/notification_details.h" 85 #include "content/public/browser/notification_details.h"
86 #include "content/public/browser/notification_source.h" 86 #include "content/public/browser/notification_source.h"
87 #include "content/public/browser/web_contents.h" 87 #include "content/public/browser/web_contents.h"
88 #include "content/public/browser/web_ui.h" 88 #include "content/public/browser/web_ui.h"
89 #include "content/public/test/browser_test_utils.h" 89 #include "content/public/test/browser_test_utils.h"
90 #include "content/public/test/test_utils.h" 90 #include "content/public/test/test_utils.h"
91 #include "crypto/rsa_private_key.h" 91 #include "crypto/rsa_private_key.h"
92 #include "extensions/common/extension.h" 92 #include "extensions/common/extension.h"
93 #include "grit/chromium_strings.h" 93 #include "grit/chromium_strings.h"
94 #include "grit/generated_resources.h" 94 #include "grit/generated_resources.h"
(...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after
1177 if (!IsSessionStarted()) { 1177 if (!IsSessionStarted()) {
1178 content::WindowedNotificationObserver(chrome::NOTIFICATION_SESSION_STARTED, 1178 content::WindowedNotificationObserver(chrome::NOTIFICATION_SESSION_STARTED,
1179 base::Bind(IsSessionStarted)).Wait(); 1179 base::Bind(IsSessionStarted)).Wait();
1180 } 1180 }
1181 } 1181 }
1182 1182
1183 INSTANTIATE_TEST_CASE_P(TermsOfServiceTestInstance, 1183 INSTANTIATE_TEST_CASE_P(TermsOfServiceTestInstance,
1184 TermsOfServiceTest, testing::Bool()); 1184 TermsOfServiceTest, testing::Bool());
1185 1185
1186 } // namespace policy 1186 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698