OLD | NEW |
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 "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/chromeos/chromeos_version.h" | |
9 #include "base/command_line.h" | 8 #include "base/command_line.h" |
10 #include "base/debug/trace_event.h" | 9 #include "base/debug/trace_event.h" |
11 #include "base/logging.h" | 10 #include "base/logging.h" |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
14 #include "base/prefs/pref_registry_simple.h" | 13 #include "base/prefs/pref_registry_simple.h" |
15 #include "base/prefs/pref_service.h" | 14 #include "base/prefs/pref_service.h" |
16 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
17 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
18 #include "base/strings/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
(...skipping 1753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1772 rvh->ExecuteJavascriptInWebFrame( | 1771 rvh->ExecuteJavascriptInWebFrame( |
1773 ASCIIToUTF16("//iframe[@id='signin-frame']\n//iframe"), | 1772 ASCIIToUTF16("//iframe[@id='signin-frame']\n//iframe"), |
1774 ASCIIToUTF16(code)); | 1773 ASCIIToUTF16(code)); |
1775 | 1774 |
1776 // Test properties are cleared in HandleCompleteLogin because the form | 1775 // Test properties are cleared in HandleCompleteLogin because the form |
1777 // submission might fail and login will not be attempted after reloading | 1776 // submission might fail and login will not be attempted after reloading |
1778 // if they are cleared here. | 1777 // if they are cleared here. |
1779 } | 1778 } |
1780 | 1779 |
1781 } // namespace chromeos | 1780 } // namespace chromeos |
OLD | NEW |