OLD | NEW |
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 #include "components/signin/core/browser/test_signin_client.h" | 5 #include "components/signin/core/browser/test_signin_client.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
9 #include "base/threading/thread_task_runner_handle.h" | 9 #include "base/threading/thread_task_runner_handle.h" |
10 #include "components/signin/core/browser/webdata/token_service_table.h" | 10 #include "components/signin/core/browser/webdata/token_service_table.h" |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 } | 96 } |
97 | 97 |
98 void TestSigninClient::RemoveContentSettingsObserver( | 98 void TestSigninClient::RemoveContentSettingsObserver( |
99 content_settings::Observer* observer) { | 99 content_settings::Observer* observer) { |
100 } | 100 } |
101 | 101 |
102 void TestSigninClient::DelayNetworkCall(const base::Closure& callback) { | 102 void TestSigninClient::DelayNetworkCall(const base::Closure& callback) { |
103 callback.Run(); | 103 callback.Run(); |
104 } | 104 } |
105 | 105 |
106 GaiaAuthFetcher* TestSigninClient::CreateGaiaAuthFetcher( | 106 std::unique_ptr<GaiaAuthFetcher> TestSigninClient::CreateGaiaAuthFetcher( |
107 GaiaAuthConsumer* consumer, | 107 GaiaAuthConsumer* consumer, |
108 const std::string& source, | 108 const std::string& source, |
109 net::URLRequestContextGetter* getter) { | 109 net::URLRequestContextGetter* getter) { |
110 return new GaiaAuthFetcher(consumer, source, getter); | 110 return base::MakeUnique<GaiaAuthFetcher>(consumer, source, getter); |
111 } | 111 } |
OLD | NEW |