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

Side by Side Diff: chrome/browser/autofill/content_autofill_driver_browsertest.cc

Issue 1857663002: chrome/browser/autofill: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 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 <memory>
Mathieu 2016/04/04 13:15:46 may not be needed, include base/memory/ref_count
vabr (Chromium) 2016/04/04 13:28:41 Done.
6
5 #include "base/macros.h" 7 #include "base/macros.h"
6 #include "base/memory/scoped_ptr.h"
7 #include "chrome/browser/browser_process.h" 8 #include "chrome/browser/browser_process.h"
8 #include "chrome/browser/ui/browser.h" 9 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/browser_tabstrip.h" 10 #include "chrome/browser/ui/browser_tabstrip.h"
10 #include "chrome/browser/ui/tabs/tab_strip_model.h" 11 #include "chrome/browser/ui/tabs/tab_strip_model.h"
11 #include "chrome/common/url_constants.h" 12 #include "chrome/common/url_constants.h"
12 #include "chrome/test/base/in_process_browser_test.h" 13 #include "chrome/test/base/in_process_browser_test.h"
13 #include "components/autofill/content/browser/content_autofill_driver.h" 14 #include "components/autofill/content/browser/content_autofill_driver.h"
14 #include "components/autofill/content/browser/content_autofill_driver_factory.h" 15 #include "components/autofill/content/browser/content_autofill_driver_factory.h"
15 #include "components/autofill/core/browser/autofill_manager.h" 16 #include "components/autofill/core/browser/autofill_manager.h"
16 #include "components/autofill/core/browser/test_autofill_client.h" 17 #include "components/autofill/core/browser/test_autofill_client.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 browser()->OpenURL(content::OpenURLParams(GURL(chrome::kChromeUIAboutURL), 145 browser()->OpenURL(content::OpenURLParams(GURL(chrome::kChromeUIAboutURL),
145 content::Referrer(), 146 content::Referrer(),
146 CURRENT_TAB, 147 CURRENT_TAB,
147 ui::PAGE_TRANSITION_TYPED, 148 ui::PAGE_TRANSITION_TYPED,
148 false)); 149 false));
149 runner->Run(); 150 runner->Run();
150 nav_entry_committed_callback_.Reset(); 151 nav_entry_committed_callback_.Reset();
151 } 152 }
152 153
153 } // namespace autofill 154 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698