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

Side by Side Diff: chrome/browser/chromeos/login/existing_user_controller_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) 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 <vector> 5 #include <vector>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 10 matching lines...) Expand all
21 #include "chrome/browser/chromeos/login/mock_login_utils.h" 21 #include "chrome/browser/chromeos/login/mock_login_utils.h"
22 #include "chrome/browser/chromeos/login/mock_url_fetchers.h" 22 #include "chrome/browser/chromeos/login/mock_url_fetchers.h"
23 #include "chrome/browser/chromeos/login/mock_user_manager.h" 23 #include "chrome/browser/chromeos/login/mock_user_manager.h"
24 #include "chrome/browser/chromeos/login/user_manager.h" 24 #include "chrome/browser/chromeos/login/user_manager.h"
25 #include "chrome/browser/chromeos/login/wizard_controller.h" 25 #include "chrome/browser/chromeos/login/wizard_controller.h"
26 #include "chrome/browser/chromeos/policy/device_local_account.h" 26 #include "chrome/browser/chromeos/policy/device_local_account.h"
27 #include "chrome/browser/chromeos/policy/device_local_account_policy_service.h" 27 #include "chrome/browser/chromeos/policy/device_local_account_policy_service.h"
28 #include "chrome/browser/chromeos/policy/device_policy_cros_browser_test.h" 28 #include "chrome/browser/chromeos/policy/device_policy_cros_browser_test.h"
29 #include "chrome/browser/chromeos/settings/cros_settings.h" 29 #include "chrome/browser/chromeos/settings/cros_settings.h"
30 #include "chrome/browser/policy/browser_policy_connector.h" 30 #include "chrome/browser/policy/browser_policy_connector.h"
31 #include "chrome/browser/policy/cloud/cloud_policy_constants.h"
32 #include "chrome/browser/policy/cloud/cloud_policy_core.h"
33 #include "chrome/browser/policy/cloud/cloud_policy_store.h"
34 #include "chrome/browser/policy/cloud/mock_cloud_policy_store.h"
35 #include "chrome/browser/policy/cloud/policy_builder.h"
36 #include "chrome/browser/policy/proto/chromeos/chrome_device_policy.pb.h" 31 #include "chrome/browser/policy/proto/chromeos/chrome_device_policy.pb.h"
37 #include "chrome/common/chrome_switches.h" 32 #include "chrome/common/chrome_switches.h"
38 #include "chrome/test/base/testing_browser_process.h" 33 #include "chrome/test/base/testing_browser_process.h"
39 #include "chrome/test/base/testing_profile.h" 34 #include "chrome/test/base/testing_profile.h"
40 #include "chrome/test/base/ui_test_utils.h" 35 #include "chrome/test/base/ui_test_utils.h"
41 #include "chromeos/chromeos_switches.h" 36 #include "chromeos/chromeos_switches.h"
42 #include "chromeos/dbus/fake_session_manager_client.h" 37 #include "chromeos/dbus/fake_session_manager_client.h"
43 #include "chromeos/settings/cros_settings_names.h" 38 #include "chromeos/settings/cros_settings_names.h"
39 #include "components/policy/core/common/cloud/cloud_policy_constants.h"
40 #include "components/policy/core/common/cloud/cloud_policy_core.h"
41 #include "components/policy/core/common/cloud/cloud_policy_store.h"
42 #include "components/policy/core/common/cloud/mock_cloud_policy_store.h"
43 #include "components/policy/core/common/cloud/policy_builder.h"
44 #include "content/public/test/mock_notification_observer.h" 44 #include "content/public/test/mock_notification_observer.h"
45 #include "content/public/test/test_utils.h" 45 #include "content/public/test/test_utils.h"
46 #include "google_apis/gaia/mock_url_fetcher_factory.h" 46 #include "google_apis/gaia/mock_url_fetcher_factory.h"
47 #include "grit/generated_resources.h" 47 #include "grit/generated_resources.h"
48 #include "testing/gmock/include/gmock/gmock.h" 48 #include "testing/gmock/include/gmock/gmock.h"
49 #include "testing/gtest/include/gtest/gtest.h" 49 #include "testing/gtest/include/gtest/gtest.h"
50 #include "ui/base/l10n/l10n_util.h" 50 #include "ui/base/l10n/l10n_util.h"
51 51
52 using ::testing::AnyNumber; 52 using ::testing::AnyNumber;
53 using ::testing::Invoke; 53 using ::testing::Invoke;
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 675
676 INSTANTIATE_TEST_CASE_P(ExistingUserControllerTestInstantiation, 676 INSTANTIATE_TEST_CASE_P(ExistingUserControllerTestInstantiation,
677 ExistingUserControllerTest, 677 ExistingUserControllerTest,
678 testing::Bool()); 678 testing::Bool());
679 679
680 INSTANTIATE_TEST_CASE_P(ExistingUserControllerPublicSessionTestInstantiation, 680 INSTANTIATE_TEST_CASE_P(ExistingUserControllerPublicSessionTestInstantiation,
681 ExistingUserControllerPublicSessionTest, 681 ExistingUserControllerPublicSessionTest,
682 testing::Bool()); 682 testing::Bool());
683 683
684 } // namespace chromeos 684 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/existing_user_controller.cc ('k') | chrome/browser/chromeos/login/kiosk_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698