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

Side by Side Diff: chrome/browser/chromeos/login/test/oobe_base_test.h

Issue 1394723002: This CL fixes the issue with login using alternative e-mails. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2526
Patch Set: Created 5 years, 2 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 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_BASE_TEST_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_BASE_TEST_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_BASE_TEST_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_BASE_TEST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 21 matching lines...) Expand all
32 32
33 class NetworkPortalDetectorTestImpl; 33 class NetworkPortalDetectorTestImpl;
34 34
35 // Base class for OOBE, login, SAML and Kiosk tests. 35 // Base class for OOBE, login, SAML and Kiosk tests.
36 class OobeBaseTest : public ExtensionApiTest { 36 class OobeBaseTest : public ExtensionApiTest {
37 public: 37 public:
38 // Default fake user email and password, may be used by tests. 38 // Default fake user email and password, may be used by tests.
39 39
40 static const char kFakeUserEmail[]; 40 static const char kFakeUserEmail[];
41 static const char kFakeUserPassword[]; 41 static const char kFakeUserPassword[];
42 static const char kFakeUserGaiaId[];
42 43
43 // FakeGaia is configured to return these cookies for kFakeUserEmail. 44 // FakeGaia is configured to return these cookies for kFakeUserEmail.
44 static const char kFakeSIDCookie[]; 45 static const char kFakeSIDCookie[];
45 static const char kFakeLSIDCookie[]; 46 static const char kFakeLSIDCookie[];
46 47
47 OobeBaseTest(); 48 OobeBaseTest();
48 ~OobeBaseTest() override; 49 ~OobeBaseTest() override;
49 50
50 // Subclasses may register their own custom request handlers that will 51 // Subclasses may register their own custom request handlers that will
51 // process requests prior it gets handled by FakeGaia instance. 52 // process requests prior it gets handled by FakeGaia instance.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 std::string gaia_frame_parent_; 108 std::string gaia_frame_parent_;
108 bool initialize_fake_merge_session_; 109 bool initialize_fake_merge_session_;
109 test::JSChecker js_checker_; 110 test::JSChecker js_checker_;
110 111
111 DISALLOW_COPY_AND_ASSIGN(OobeBaseTest); 112 DISALLOW_COPY_AND_ASSIGN(OobeBaseTest);
112 }; 113 };
113 114
114 } // namespace chromeos 115 } // namespace chromeos
115 116
116 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_BASE_TEST_H_ 117 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_BASE_TEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/signin/device_id_browsertest.cc ('k') | chrome/browser/chromeos/login/test/oobe_base_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698