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

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

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 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 "chrome/browser/autofill/autofill_uitest_util.h"
5 #include "base/macros.h" 6 #include "base/macros.h"
6 #include "chrome/browser/autofill/autofill_uitest_util.h" 7 #include "base/message_loop/message_loop.h"
7 #include "chrome/browser/autofill/personal_data_manager_factory.h" 8 #include "chrome/browser/autofill/personal_data_manager_factory.h"
8 #include "chrome/browser/ui/browser.h" 9 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/tabs/tab_strip_model.h" 10 #include "chrome/browser/ui/tabs/tab_strip_model.h"
10 #include "components/autofill/core/browser/personal_data_manager.h" 11 #include "components/autofill/core/browser/personal_data_manager.h"
11 #include "components/autofill/core/browser/personal_data_manager_observer.h" 12 #include "components/autofill/core/browser/personal_data_manager_observer.h"
12 #include "content/public/test/test_utils.h" 13 #include "content/public/test/test_utils.h"
13 14
14 namespace autofill { 15 namespace autofill {
15 16
16 // This class is used to wait for asynchronous updates to PersonalDataManager 17 // This class is used to wait for asynchronous updates to PersonalDataManager
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 SetTestProfiles(browser, &profiles); 73 SetTestProfiles(browser, &profiles);
73 } 74 }
74 75
75 void SetTestProfiles(Browser* browser, std::vector<AutofillProfile>* profiles) { 76 void SetTestProfiles(Browser* browser, std::vector<AutofillProfile>* profiles) {
76 PdmChangeWaiter observer(browser); 77 PdmChangeWaiter observer(browser);
77 GetPersonalDataManager(browser->profile())->SetProfiles(profiles); 78 GetPersonalDataManager(browser->profile())->SetProfiles(profiles);
78 observer.Wait(); 79 observer.Wait();
79 } 80 }
80 81
81 } // namespace autofill 82 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698