| Index: ios/chrome/browser/metrics/tab_usage_recorder_test_util.h
|
| diff --git a/ios/chrome/browser/metrics/tab_usage_recorder_test_util.h b/ios/chrome/browser/metrics/tab_usage_recorder_test_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a84b5948516c034f1f4df505ea4dc6d01e74dce4
|
| --- /dev/null
|
| +++ b/ios/chrome/browser/metrics/tab_usage_recorder_test_util.h
|
| @@ -0,0 +1,19 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef IOS_CHROME_BROWSER_METRICS_TAB_USAGE_RECORDER_TEST_UTIL_H_
|
| +#define IOS_CHROME_BROWSER_METRICS_TAB_USAGE_RECORDER_TEST_UTIL_H_
|
| +
|
| +namespace tab_usage_recorder_test_util {
|
| +
|
| +// Opens a new incognito tab using the UI and evicts any main tab model tabs.
|
| +void OpenNewIncognitoTabUsingUIAndEvictMainTabs();
|
| +
|
| +// Switches to normal mode using swith button (iPad) or stack view (iPhone).
|
| +// Assumes current mode is Incognito.
|
| +void SwitchToNormalMode();
|
| +
|
| +} // namespace tab_usage_recorder_test_util
|
| +
|
| +#endif // IOS_CHROME_BROWSER_METRICS_TAB_USAGE_RECORDER_TEST_UTIL_H_
|
|
|