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

Side by Side Diff: chrome/browser/chromeos/login/saml/saml_browsertest.cc

Issue 2137463003: [Extensions] Move Feature channel code into //extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test fix Created 4 years, 5 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 | « no previous file | chrome/browser/extensions/active_tab_unittest.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 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 <cstring> 5 #include <cstring>
6 #include <memory> 6 #include <memory>
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 28 matching lines...) Expand all
39 #include "chrome/browser/chromeos/policy/device_policy_cros_browser_test.h" 39 #include "chrome/browser/chromeos/policy/device_policy_cros_browser_test.h"
40 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h" 40 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h"
41 #include "chrome/browser/chromeos/profiles/profile_helper.h" 41 #include "chrome/browser/chromeos/profiles/profile_helper.h"
42 #include "chrome/browser/chromeos/settings/cros_settings.h" 42 #include "chrome/browser/chromeos/settings/cros_settings.h"
43 #include "chrome/browser/policy/test/local_policy_test_server.h" 43 #include "chrome/browser/policy/test/local_policy_test_server.h"
44 #include "chrome/browser/profiles/profile.h" 44 #include "chrome/browser/profiles/profile.h"
45 #include "chrome/browser/ui/webui/signin/get_auth_frame.h" 45 #include "chrome/browser/ui/webui/signin/get_auth_frame.h"
46 #include "chrome/common/chrome_constants.h" 46 #include "chrome/common/chrome_constants.h"
47 #include "chrome/common/chrome_paths.h" 47 #include "chrome/common/chrome_paths.h"
48 #include "chrome/common/chrome_switches.h" 48 #include "chrome/common/chrome_switches.h"
49 #include "chrome/common/extensions/features/feature_channel.h"
50 #include "chrome/grit/generated_resources.h" 49 #include "chrome/grit/generated_resources.h"
51 #include "chrome/test/base/in_process_browser_test.h" 50 #include "chrome/test/base/in_process_browser_test.h"
52 #include "chromeos/chromeos_switches.h" 51 #include "chromeos/chromeos_switches.h"
53 #include "chromeos/cryptohome/system_salt_getter.h" 52 #include "chromeos/cryptohome/system_salt_getter.h"
54 #include "chromeos/dbus/cryptohome/key.pb.h" 53 #include "chromeos/dbus/cryptohome/key.pb.h"
55 #include "chromeos/dbus/cryptohome/rpc.pb.h" 54 #include "chromeos/dbus/cryptohome/rpc.pb.h"
56 #include "chromeos/dbus/cryptohome_client.h" 55 #include "chromeos/dbus/cryptohome_client.h"
57 #include "chromeos/dbus/dbus_thread_manager.h" 56 #include "chromeos/dbus/dbus_thread_manager.h"
58 #include "chromeos/dbus/fake_cryptohome_client.h" 57 #include "chromeos/dbus/fake_cryptohome_client.h"
59 #include "chromeos/dbus/fake_session_manager_client.h" 58 #include "chromeos/dbus/fake_session_manager_client.h"
60 #include "chromeos/dbus/session_manager_client.h" 59 #include "chromeos/dbus/session_manager_client.h"
61 #include "chromeos/dbus/shill_manager_client.h" 60 #include "chromeos/dbus/shill_manager_client.h"
62 #include "chromeos/login/auth/key.h" 61 #include "chromeos/login/auth/key.h"
63 #include "chromeos/settings/cros_settings_names.h" 62 #include "chromeos/settings/cros_settings_names.h"
64 #include "components/guest_view/browser/test_guest_view_manager.h" 63 #include "components/guest_view/browser/test_guest_view_manager.h"
65 #include "components/policy/core/browser/browser_policy_connector.h" 64 #include "components/policy/core/browser/browser_policy_connector.h"
66 #include "components/policy/core/common/mock_configuration_policy_provider.h" 65 #include "components/policy/core/common/mock_configuration_policy_provider.h"
67 #include "components/policy/core/common/policy_map.h" 66 #include "components/policy/core/common/policy_map.h"
68 #include "components/policy/core/common/policy_switches.h" 67 #include "components/policy/core/common/policy_switches.h"
69 #include "components/policy/core/common/policy_types.h" 68 #include "components/policy/core/common/policy_types.h"
70 #include "components/user_manager/user.h" 69 #include "components/user_manager/user.h"
71 #include "components/user_manager/user_manager.h" 70 #include "components/user_manager/user_manager.h"
72 #include "content/public/browser/browser_thread.h" 71 #include "content/public/browser/browser_thread.h"
73 #include "content/public/browser/render_frame_host.h" 72 #include "content/public/browser/render_frame_host.h"
74 #include "content/public/browser/web_contents.h" 73 #include "content/public/browser/web_contents.h"
75 #include "content/public/browser/web_contents_observer.h" 74 #include "content/public/browser/web_contents_observer.h"
76 #include "content/public/test/browser_test_utils.h" 75 #include "content/public/test/browser_test_utils.h"
77 #include "content/public/test/test_utils.h" 76 #include "content/public/test/test_utils.h"
78 #include "extensions/browser/guest_view/web_view/web_view_guest.h" 77 #include "extensions/browser/guest_view/web_view/web_view_guest.h"
78 #include "extensions/common/features/feature_channel.h"
79 #include "google_apis/gaia/fake_gaia.h" 79 #include "google_apis/gaia/fake_gaia.h"
80 #include "google_apis/gaia/gaia_constants.h" 80 #include "google_apis/gaia/gaia_constants.h"
81 #include "google_apis/gaia/gaia_switches.h" 81 #include "google_apis/gaia/gaia_switches.h"
82 #include "google_apis/gaia/gaia_urls.h" 82 #include "google_apis/gaia/gaia_urls.h"
83 #include "net/base/url_util.h" 83 #include "net/base/url_util.h"
84 #include "net/cookies/canonical_cookie.h" 84 #include "net/cookies/canonical_cookie.h"
85 #include "net/cookies/cookie_store.h" 85 #include "net/cookies/cookie_store.h"
86 #include "net/dns/mock_host_resolver.h" 86 #include "net/dns/mock_host_resolver.h"
87 #include "net/test/embedded_test_server/embedded_test_server.h" 87 #include "net/test/embedded_test_server/embedded_test_server.h"
88 #include "net/test/embedded_test_server/http_request.h" 88 #include "net/test/embedded_test_server/http_request.h"
(...skipping 1271 matching lines...) Expand 10 before | Expand all | Expand 10 after
1360 1360
1361 // Scraping one password should finish login. 1361 // Scraping one password should finish login.
1362 content::WindowedNotificationObserver session_start_waiter( 1362 content::WindowedNotificationObserver session_start_waiter(
1363 chrome::NOTIFICATION_SESSION_STARTED, 1363 chrome::NOTIFICATION_SESSION_STARTED,
1364 content::NotificationService::AllSources()); 1364 content::NotificationService::AllSources());
1365 ExecuteJsInSigninFrame("document.getElementById('Submit').click();"); 1365 ExecuteJsInSigninFrame("document.getElementById('Submit').click();");
1366 session_start_waiter.Wait(); 1366 session_start_waiter.Wait();
1367 } 1367 }
1368 1368
1369 } // namespace chromeos 1369 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/active_tab_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698