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

Side by Side Diff: chrome/browser/chromeos/login/login_ui_browsertest.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/prefs/pref_service.h"
7 #include "chrome/browser/browser_process.h" 6 #include "chrome/browser/browser_process.h"
8 #include "chrome/browser/chrome_notification_types.h" 7 #include "chrome/browser/chrome_notification_types.h"
9 #include "chrome/browser/chromeos/login/login_manager_test.h" 8 #include "chrome/browser/chromeos/login/login_manager_test.h"
10 #include "chrome/browser/chromeos/login/screenshot_testing/login_screen_areas.h" 9 #include "chrome/browser/chromeos/login/screenshot_testing/login_screen_areas.h"
11 #include "chrome/browser/chromeos/login/screenshot_testing/screenshot_testing_mi xin.h" 10 #include "chrome/browser/chromeos/login/screenshot_testing/screenshot_testing_mi xin.h"
12 #include "chrome/browser/chromeos/login/startup_utils.h" 11 #include "chrome/browser/chromeos/login/startup_utils.h"
13 #include "chrome/browser/chromeos/login/test/oobe_screen_waiter.h" 12 #include "chrome/browser/chromeos/login/test/oobe_screen_waiter.h"
14 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" 13 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h"
15 #include "chrome/common/pref_names.h" 14 #include "chrome/common/pref_names.h"
15 #include "components/prefs/pref_service.h"
16 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
17 #include "content/public/browser/notification_observer.h" 17 #include "content/public/browser/notification_observer.h"
18 #include "content/public/browser/notification_registrar.h" 18 #include "content/public/browser/notification_registrar.h"
19 #include "content/public/browser/notification_service.h" 19 #include "content/public/browser/notification_service.h"
20 #include "content/public/browser/notification_types.h" 20 #include "content/public/browser/notification_types.h"
21 #include "ui/compositor/compositor_switches.h" 21 #include "ui/compositor/compositor_switches.h"
22 22
23 namespace chromeos { 23 namespace chromeos {
24 24
25 namespace { 25 namespace {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 IN_PROC_BROWSER_TEST_F(LoginUITest, OobeCatchException) { 95 IN_PROC_BROWSER_TEST_F(LoginUITest, OobeCatchException) {
96 JSExpect("cr.ErrorStore.getInstance().length == 0"); 96 JSExpect("cr.ErrorStore.getInstance().length == 0");
97 js_checker().ExecuteAsync("aelrt('misprint')"); 97 js_checker().ExecuteAsync("aelrt('misprint')");
98 JSExpect("cr.ErrorStore.getInstance().length == 1"); 98 JSExpect("cr.ErrorStore.getInstance().length == 1");
99 js_checker().ExecuteAsync("consle.error('Some error')"); 99 js_checker().ExecuteAsync("consle.error('Some error')");
100 JSExpect("cr.ErrorStore.getInstance().length == 2"); 100 JSExpect("cr.ErrorStore.getInstance().length == 2");
101 } 101 }
102 102
103 } // namespace chromeos 103 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_manager_test.cc ('k') | chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698