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

Side by Side Diff: chrome/test/device_management_test_util.h

Issue 4960003: Don't register gmail users at the device management server (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 10 years, 1 month 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_TEST_DEVICE_MANAGEMENT_TEST_UTIL_H_ 5 #ifndef CHROME_TEST_DEVICE_MANAGEMENT_TEST_UTIL_H_
6 #define CHROME_TEST_DEVICE_MANAGEMENT_TEST_UTIL_H_ 6 #define CHROME_TEST_DEVICE_MANAGEMENT_TEST_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string>
10
9 namespace policy { 11 namespace policy {
10 12
11 void SimulateSuccessfulLogin(); 13 class DeviceTokenFetcher;
14
15 extern const char* kTestDasherDomainUsername;
16
17 void SimulateTokenAvailable();
18
19 void SimulateUserNameAvailable(DeviceTokenFetcher* fetcher,
20 const std::string& username);
21
22 void SimulateSuccessfulLogin(DeviceTokenFetcher* fetcher,
23 const std::string& username);
12 24
13 } // namespace 25 } // namespace
14 26
15 #endif // CHROME_TEST_DEVICE_MANAGEMENT_TEST_UTIL_H_ 27 #endif // CHROME_TEST_DEVICE_MANAGEMENT_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698