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

Side by Side Diff: components/autofill/core/browser/personal_data_manager_unittest.cc

Issue 19403002: Use a direct include of the message_loop header in cc/, chrome_frame/, cloud_print/, components. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <string> 5 #include <string>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/guid.h" 8 #include "base/guid.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "base/synchronization/waitable_event.h" 12 #include "base/synchronization/waitable_event.h"
13 #include "chrome/test/base/testing_profile.h" 13 #include "chrome/test/base/testing_profile.h"
14 #include "components/autofill/core/browser/autofill_common_test.h" 14 #include "components/autofill/core/browser/autofill_common_test.h"
15 #include "components/autofill/core/browser/autofill_metrics.h" 15 #include "components/autofill/core/browser/autofill_metrics.h"
16 #include "components/autofill/core/browser/autofill_profile.h" 16 #include "components/autofill/core/browser/autofill_profile.h"
17 #include "components/autofill/core/browser/form_structure.h" 17 #include "components/autofill/core/browser/form_structure.h"
18 #include "components/autofill/core/browser/personal_data_manager.h" 18 #include "components/autofill/core/browser/personal_data_manager.h"
19 #include "components/autofill/core/browser/personal_data_manager_observer.h" 19 #include "components/autofill/core/browser/personal_data_manager_observer.h"
20 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 20 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
(...skipping 2388 matching lines...) Expand 10 before | Expand all | Expand 10 after
2409 // Removing shouldn't work. 2409 // Removing shouldn't work.
2410 personal_data_->RemoveByGUID(steve_jobs.guid()); 2410 personal_data_->RemoveByGUID(steve_jobs.guid());
2411 personal_data_->RemoveByGUID(bill_gates.guid()); 2411 personal_data_->RemoveByGUID(bill_gates.guid());
2412 2412
2413 ResetPersonalDataManager(); 2413 ResetPersonalDataManager();
2414 EXPECT_EQ(1U, personal_data_->GetProfiles().size()); 2414 EXPECT_EQ(1U, personal_data_->GetProfiles().size());
2415 EXPECT_EQ(1U, personal_data_->GetCreditCards().size()); 2415 EXPECT_EQ(1U, personal_data_->GetCreditCards().size());
2416 } 2416 }
2417 2417
2418 } // namespace autofill 2418 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698