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 "ios/chrome/test/testing_application_context.h" | 5 #include "ios/chrome/test/testing_application_context.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/time/default_clock.h" | 9 #include "base/time/default_clock.h" |
10 #include "base/time/default_tick_clock.h" | 10 #include "base/time/default_tick_clock.h" |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 TestingApplicationContext::GetMetricsServicesManager() { | 98 TestingApplicationContext::GetMetricsServicesManager() { |
99 DCHECK(thread_checker_.CalledOnValidThread()); | 99 DCHECK(thread_checker_.CalledOnValidThread()); |
100 return nullptr; | 100 return nullptr; |
101 } | 101 } |
102 | 102 |
103 metrics::MetricsService* TestingApplicationContext::GetMetricsService() { | 103 metrics::MetricsService* TestingApplicationContext::GetMetricsService() { |
104 DCHECK(thread_checker_.CalledOnValidThread()); | 104 DCHECK(thread_checker_.CalledOnValidThread()); |
105 return nullptr; | 105 return nullptr; |
106 } | 106 } |
107 | 107 |
108 ukm::UkmService* TestingApplicationContext::GetUkmService() { | 108 ukm::UkmRecorder* TestingApplicationContext::GetUkmRecorder() { |
109 DCHECK(thread_checker_.CalledOnValidThread()); | 109 DCHECK(thread_checker_.CalledOnValidThread()); |
110 return nullptr; | 110 return nullptr; |
111 } | 111 } |
112 | 112 |
113 variations::VariationsService* | 113 variations::VariationsService* |
114 TestingApplicationContext::GetVariationsService() { | 114 TestingApplicationContext::GetVariationsService() { |
115 DCHECK(thread_checker_.CalledOnValidThread()); | 115 DCHECK(thread_checker_.CalledOnValidThread()); |
116 return nullptr; | 116 return nullptr; |
117 } | 117 } |
118 | 118 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 CRLSetFetcher* TestingApplicationContext::GetCRLSetFetcher() { | 158 CRLSetFetcher* TestingApplicationContext::GetCRLSetFetcher() { |
159 DCHECK(thread_checker_.CalledOnValidThread()); | 159 DCHECK(thread_checker_.CalledOnValidThread()); |
160 return nullptr; | 160 return nullptr; |
161 } | 161 } |
162 | 162 |
163 physical_web::PhysicalWebDataSource* | 163 physical_web::PhysicalWebDataSource* |
164 TestingApplicationContext::GetPhysicalWebDataSource() { | 164 TestingApplicationContext::GetPhysicalWebDataSource() { |
165 DCHECK(thread_checker_.CalledOnValidThread()); | 165 DCHECK(thread_checker_.CalledOnValidThread()); |
166 return nullptr; | 166 return nullptr; |
167 } | 167 } |
OLD | NEW |