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

Side by Side Diff: components/signin/core/browser/fake_signin_manager.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 COMPONENTS_SIGNIN_CORE_BROWSER_FAKE_SIGNIN_MANAGER_H_ 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_FAKE_SIGNIN_MANAGER_H_
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_FAKE_SIGNIN_MANAGER_H_ 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_FAKE_SIGNIN_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "build/build_config.h"
12 #include "components/signin/core/browser/signin_manager.h" 13 #include "components/signin/core/browser/signin_manager.h"
13 #include "components/signin/core/browser/signin_metrics.h" 14 #include "components/signin/core/browser/signin_metrics.h"
14 15
15 // SigninManager to use for testing. Tests should use the type 16 // SigninManager to use for testing. Tests should use the type
16 // SigninManagerForTesting to ensure that the right type for their platform is 17 // SigninManagerForTesting to ensure that the right type for their platform is
17 // used. 18 // used.
18 19
19 // Overrides InitTokenService to do-nothing in tests. 20 // Overrides InitTokenService to do-nothing in tests.
20 class FakeSigninManagerBase : public SigninManagerBase { 21 class FakeSigninManagerBase : public SigninManagerBase {
21 public: 22 public:
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 62
62 void CompletePendingSignin() override; 63 void CompletePendingSignin() override;
63 64
64 // Username specified in StartSignInWithRefreshToken() call. 65 // Username specified in StartSignInWithRefreshToken() call.
65 std::string username_; 66 std::string username_;
66 }; 67 };
67 68
68 #endif // !defined (OS_CHROMEOS) 69 #endif // !defined (OS_CHROMEOS)
69 70
70 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_FAKE_SIGNIN_MANAGER_H_ 71 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_FAKE_SIGNIN_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698