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

Side by Side Diff: ios/chrome/test/app/history_test_util.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
« no previous file with comments | « ios/chrome/test/app/history_test_util.h ('k') | ios/chrome/test/app/settings_test_util.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/app/history_test_util.h" 5 #import "ios/chrome/test/app/history_test_util.h"
6 6
7 #include "base/mac/bind_objc_block.h" 7 #import "base/mac/bind_objc_block.h"
8 #include "base/test/ios/wait_util.h" 8 #import "base/test/ios/wait_util.h"
9 #include "components/browsing_data/core/browsing_data_utils.h" 9 #include "components/browsing_data/core/browsing_data_utils.h"
10 #import "ios/chrome/app/main_controller.h" 10 #import "ios/chrome/app/main_controller.h"
11 #import "ios/chrome/app/main_controller_private.h" 11 #import "ios/chrome/app/main_controller_private.h"
12 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" 12 #include "ios/chrome/browser/browser_state/chrome_browser_state.h"
13 #include "ios/chrome/browser/browsing_data/ios_chrome_browsing_data_remover.h" 13 #include "ios/chrome/browser/browsing_data/ios_chrome_browsing_data_remover.h"
14 #include "ios/chrome/browser/callback_counter.h" 14 #include "ios/chrome/browser/callback_counter.h"
15 #import "ios/chrome/test/app/chrome_test_util.h" 15 #import "ios/chrome/test/app/chrome_test_util.h"
16 16
17 namespace chrome_test_util { 17 namespace chrome_test_util {
18 18
(...skipping 21 matching lines...) Expand all
40 // Wait for history to be cleared. 40 // Wait for history to be cleared.
41 NSDate* deadline = [NSDate dateWithTimeIntervalSinceNow:4.0]; 41 NSDate* deadline = [NSDate dateWithTimeIntervalSinceNow:4.0];
42 while (!did_complete && 42 while (!did_complete &&
43 [[NSDate date] compare:deadline] != NSOrderedDescending) { 43 [[NSDate date] compare:deadline] != NSOrderedDescending) {
44 base::test::ios::SpinRunLoopWithMaxDelay( 44 base::test::ios::SpinRunLoopWithMaxDelay(
45 base::TimeDelta::FromSecondsD(0.1)); 45 base::TimeDelta::FromSecondsD(0.1));
46 } 46 }
47 } 47 }
48 48
49 } // namespace chrome_test_util 49 } // namespace chrome_test_util
OLDNEW
« no previous file with comments | « ios/chrome/test/app/history_test_util.h ('k') | ios/chrome/test/app/settings_test_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698