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

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

Issue 566933005: Do not display lock for hosted domains (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change to a hosted domain preference. Fix unit tests. Created 6 years, 3 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 COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
(...skipping 27 matching lines...) Expand all
38 // Returns a pointer to a loaded database. 38 // Returns a pointer to a loaded database.
39 virtual scoped_refptr<TokenWebData> GetDatabase() OVERRIDE; 39 virtual scoped_refptr<TokenWebData> GetDatabase() OVERRIDE;
40 40
41 // Returns true. 41 // Returns true.
42 virtual bool CanRevokeCredentials() OVERRIDE; 42 virtual bool CanRevokeCredentials() OVERRIDE;
43 43
44 // Returns empty string. 44 // Returns empty string.
45 virtual std::string GetSigninScopedDeviceId() OVERRIDE; 45 virtual std::string GetSigninScopedDeviceId() OVERRIDE;
46 46
47 // Does nothing. 47 // Does nothing.
48 virtual void ClearSigninScopedDeviceId() OVERRIDE; 48 virtual void ClearSigninClientPrefs() OVERRIDE;
49 49
50 // Returns the empty string. 50 // Returns the empty string.
51 virtual std::string GetProductVersion() OVERRIDE; 51 virtual std::string GetProductVersion() OVERRIDE;
52 52
53 // Returns a TestURLRequestContextGetter or an manually provided 53 // Returns a TestURLRequestContextGetter or an manually provided
54 // URLRequestContextGetter. 54 // URLRequestContextGetter.
55 virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE; 55 virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE;
56 56
57 // For testing purposes, can override the TestURLRequestContextGetter created 57 // For testing purposes, can override the TestURLRequestContextGetter created
58 // in the default constructor. 58 // in the default constructor.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 PrefService* pref_service_; 94 PrefService* pref_service_;
95 95
96 #if defined(OS_IOS) 96 #if defined(OS_IOS)
97 scoped_ptr<ios::FakeProfileOAuth2TokenServiceIOSProvider> iosProvider_; 97 scoped_ptr<ios::FakeProfileOAuth2TokenServiceIOSProvider> iosProvider_;
98 #endif 98 #endif
99 99
100 DISALLOW_COPY_AND_ASSIGN(TestSigninClient); 100 DISALLOW_COPY_AND_ASSIGN(TestSigninClient);
101 }; 101 };
102 102
103 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ 103 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698