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

Side by Side Diff: ios/chrome/test/testing_application_context.mm

Issue 2608733002: Fix include/import in ios/testing and ios/chrome/test (Closed)
Patch Set: Created 3 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 #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"
11 #include "components/network_time/network_time_tracker.h" 11 #include "components/network_time/network_time_tracker.h"
12 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h" 12 #import "ios/public/provider/chrome/browser/chrome_browser_provider.h"
13 #include "net/url_request/url_request_context_getter.h" 13 #include "net/url_request/url_request_context_getter.h"
14 14
15 TestingApplicationContext::TestingApplicationContext() 15 TestingApplicationContext::TestingApplicationContext()
16 : application_locale_("en"), 16 : application_locale_("en"),
17 local_state_(nullptr), 17 local_state_(nullptr),
18 chrome_browser_state_manager_(nullptr), 18 chrome_browser_state_manager_(nullptr),
19 was_last_shutdown_clean_(false) { 19 was_last_shutdown_clean_(false) {
20 DCHECK(!GetApplicationContext()); 20 DCHECK(!GetApplicationContext());
21 SetApplicationContext(this); 21 SetApplicationContext(this);
22 } 22 }
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 CRLSetFetcher* TestingApplicationContext::GetCRLSetFetcher() { 153 CRLSetFetcher* TestingApplicationContext::GetCRLSetFetcher() {
154 DCHECK(thread_checker_.CalledOnValidThread()); 154 DCHECK(thread_checker_.CalledOnValidThread());
155 return nullptr; 155 return nullptr;
156 } 156 }
157 157
158 physical_web::PhysicalWebDataSource* 158 physical_web::PhysicalWebDataSource*
159 TestingApplicationContext::GetPhysicalWebDataSource() { 159 TestingApplicationContext::GetPhysicalWebDataSource() {
160 DCHECK(thread_checker_.CalledOnValidThread()); 160 DCHECK(thread_checker_.CalledOnValidThread());
161 return nullptr; 161 return nullptr;
162 } 162 }
OLDNEW
« no previous file with comments | « ios/chrome/test/ocmock/scoped_verifying_mock_object.h ('k') | ios/testing/earl_grey/disabled_test_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698