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

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

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "base/macros.h"
5 #include "chrome/browser/autofill/autofill_uitest_util.h" 6 #include "chrome/browser/autofill/autofill_uitest_util.h"
6 #include "chrome/browser/autofill/personal_data_manager_factory.h" 7 #include "chrome/browser/autofill/personal_data_manager_factory.h"
7 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
8 #include "chrome/browser/ui/tabs/tab_strip_model.h" 9 #include "chrome/browser/ui/tabs/tab_strip_model.h"
9 #include "components/autofill/core/browser/personal_data_manager.h" 10 #include "components/autofill/core/browser/personal_data_manager.h"
10 #include "components/autofill/core/browser/personal_data_manager_observer.h" 11 #include "components/autofill/core/browser/personal_data_manager_observer.h"
11 #include "content/public/test/test_utils.h" 12 #include "content/public/test/test_utils.h"
12 13
13 namespace autofill { 14 namespace autofill {
14 15
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 SetTestProfiles(browser, &profiles); 72 SetTestProfiles(browser, &profiles);
72 } 73 }
73 74
74 void SetTestProfiles(Browser* browser, std::vector<AutofillProfile>* profiles) { 75 void SetTestProfiles(Browser* browser, std::vector<AutofillProfile>* profiles) {
75 PdmChangeWaiter observer(browser); 76 PdmChangeWaiter observer(browser);
76 GetPersonalDataManager(browser->profile())->SetProfiles(profiles); 77 GetPersonalDataManager(browser->profile())->SetProfiles(profiles);
77 observer.Wait(); 78 observer.Wait();
78 } 79 }
79 80
80 } // namespace autofill 81 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_interactive_uitest.cc ('k') | chrome/browser/autofill/content_autofill_driver_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698