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

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

Issue 840813009: Enable strict-virtual-specifiers for iOS builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 5 years, 11 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 // Returns a TestURLRequestContextGetter or an manually provided 60 // Returns a TestURLRequestContextGetter or an manually provided
61 // URLRequestContextGetter. 61 // URLRequestContextGetter.
62 net::URLRequestContextGetter* GetURLRequestContext() override; 62 net::URLRequestContextGetter* GetURLRequestContext() override;
63 63
64 // For testing purposes, can override the TestURLRequestContextGetter created 64 // For testing purposes, can override the TestURLRequestContextGetter created
65 // in the default constructor. 65 // in the default constructor.
66 void SetURLRequestContext(net::URLRequestContextGetter* request_context); 66 void SetURLRequestContext(net::URLRequestContextGetter* request_context);
67 67
68 #if defined(OS_IOS) 68 #if defined(OS_IOS)
69 virtual ios::ProfileOAuth2TokenServiceIOSProvider* GetIOSProvider() override; 69 ios::ProfileOAuth2TokenServiceIOSProvider* GetIOSProvider() override;
70 #endif 70 #endif
71 71
72 // Returns true. 72 // Returns true.
73 bool ShouldMergeSigninCredentialsIntoCookieJar() override; 73 bool ShouldMergeSigninCredentialsIntoCookieJar() override;
74 74
75 // Registers |callback| and returns the subscription. 75 // Registers |callback| and returns the subscription.
76 // Note that |callback| will never be called. 76 // Note that |callback| will never be called.
77 scoped_ptr<SigninClient::CookieChangedSubscription> AddCookieChangedCallback( 77 scoped_ptr<SigninClient::CookieChangedSubscription> AddCookieChangedCallback(
78 const GURL& url, 78 const GURL& url,
79 const std::string& name, 79 const std::string& name,
(...skipping 25 matching lines...) Expand all
105 std::string signed_in_password_; 105 std::string signed_in_password_;
106 106
107 #if defined(OS_IOS) 107 #if defined(OS_IOS)
108 scoped_ptr<ios::FakeProfileOAuth2TokenServiceIOSProvider> iosProvider_; 108 scoped_ptr<ios::FakeProfileOAuth2TokenServiceIOSProvider> iosProvider_;
109 #endif 109 #endif
110 110
111 DISALLOW_COPY_AND_ASSIGN(TestSigninClient); 111 DISALLOW_COPY_AND_ASSIGN(TestSigninClient);
112 }; 112 };
113 113
114 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ 114 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698