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

Side by Side Diff: chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc

Issue 19479003: Use a direct include of the message_loop header in chrome/browser/, part 10. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « chrome/browser/web_resource/web_resource_service.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/location.h" 5 #include "base/location.h"
6 #include "base/message_loop.h" 6 #include "base/message_loop/message_loop.h"
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "chrome/browser/webdata/autofill_profile_syncable_service.h" 8 #include "chrome/browser/webdata/autofill_profile_syncable_service.h"
9 #include "components/autofill/core/browser/autofill_profile.h" 9 #include "components/autofill/core/browser/autofill_profile.h"
10 #include "components/autofill/core/browser/webdata/autofill_change.h" 10 #include "components/autofill/core/browser/webdata/autofill_change.h"
11 #include "content/public/test/test_browser_thread.h" 11 #include "content/public/test/test_browser_thread.h"
12 #include "sync/api/sync_error_factory.h" 12 #include "sync/api/sync_error_factory.h"
13 #include "sync/api/sync_error_factory_mock.h" 13 #include "sync/api/sync_error_factory_mock.h"
14 #include "sync/protocol/sync.pb.h" 14 #include "sync/protocol/sync.pb.h"
15 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 profile1.GetRawMultiInfo(autofill::EMAIL_ADDRESS, &values); 656 profile1.GetRawMultiInfo(autofill::EMAIL_ADDRESS, &values);
657 ASSERT_EQ(values.size(), 3U); 657 ASSERT_EQ(values.size(), 3U);
658 EXPECT_EQ(values[0], UTF8ToUTF16("1@1.com")); 658 EXPECT_EQ(values[0], UTF8ToUTF16("1@1.com"));
659 EXPECT_EQ(values[1], UTF8ToUTF16("2@1.com")); 659 EXPECT_EQ(values[1], UTF8ToUTF16("2@1.com"));
660 EXPECT_EQ(values[2], UTF8ToUTF16("3@1.com")); 660 EXPECT_EQ(values[2], UTF8ToUTF16("3@1.com"));
661 661
662 profile1.GetRawMultiInfo(autofill::PHONE_HOME_WHOLE_NUMBER, &values); 662 profile1.GetRawMultiInfo(autofill::PHONE_HOME_WHOLE_NUMBER, &values);
663 ASSERT_EQ(values.size(), 1U); 663 ASSERT_EQ(values.size(), 1U);
664 EXPECT_EQ(values[0], UTF8ToUTF16("650234567")); 664 EXPECT_EQ(values[0], UTF8ToUTF16("650234567"));
665 } 665 }
OLDNEW
« no previous file with comments | « chrome/browser/web_resource/web_resource_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698