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

Unified Diff: chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/sync/sync_promo_ui_unittest.cc ('k') | chrome/browser/ui/tab_dialogs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc
diff --git a/chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc b/chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc
index 4244ed47d376763afd7bb1368eae2c4dbf6bf2df..b00380b3a337f61d13ce648eb1afd8b5a1be9ef2 100644
--- a/chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc
+++ b/chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc
@@ -44,14 +44,14 @@ TEST_F(BrowserListTest, TabContentsIteratorVerifyCount) {
// Create more browsers/windows.
Browser::CreateParams native_params(profile());
- scoped_ptr<Browser> browser2(
+ std::unique_ptr<Browser> browser2(
chrome::CreateBrowserWithTestWindowForParams(&native_params));
// Create browser 3 and 4 on the Ash desktop (the TabContentsIterator
// shouldn't see the difference).
Browser::CreateParams ash_params(profile());
- scoped_ptr<Browser> browser3(
+ std::unique_ptr<Browser> browser3(
chrome::CreateBrowserWithTestWindowForParams(&ash_params));
- scoped_ptr<Browser> browser4(
+ std::unique_ptr<Browser> browser4(
chrome::CreateBrowserWithTestWindowForParams(&ash_params));
// Sanity checks.
@@ -90,12 +90,12 @@ TEST_F(BrowserListTest, TabContentsIteratorVerifyBrowser) {
// Create more browsers/windows.
Browser::CreateParams native_params(profile());
- scoped_ptr<Browser> browser2(
+ std::unique_ptr<Browser> browser2(
chrome::CreateBrowserWithTestWindowForParams(&native_params));
// Create browser 3 on the Ash desktop (the TabContentsIterator shouldn't see
// the difference).
Browser::CreateParams ash_params(profile());
- scoped_ptr<Browser> browser3(
+ std::unique_ptr<Browser> browser3(
chrome::CreateBrowserWithTestWindowForParams(&ash_params));
// Sanity checks.
« no previous file with comments | « chrome/browser/ui/sync/sync_promo_ui_unittest.cc ('k') | chrome/browser/ui/tab_dialogs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698