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

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

Issue 109013006: Update some uses of UTF conversions in chrome/browser to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 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 | Annotate | Revision Log
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 <string> 5 #include <string>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "content/public/browser/render_view_host.h" 42 #include "content/public/browser/render_view_host.h"
43 #include "content/public/browser/web_contents.h" 43 #include "content/public/browser/web_contents.h"
44 #include "content/public/test/browser_test_utils.h" 44 #include "content/public/test/browser_test_utils.h"
45 #include "content/public/test/test_renderer_host.h" 45 #include "content/public/test/test_renderer_host.h"
46 #include "content/public/test/test_utils.h" 46 #include "content/public/test/test_utils.h"
47 #include "net/url_request/test_url_fetcher_factory.h" 47 #include "net/url_request/test_url_fetcher_factory.h"
48 #include "testing/gmock/include/gmock/gmock.h" 48 #include "testing/gmock/include/gmock/gmock.h"
49 #include "testing/gtest/include/gtest/gtest.h" 49 #include "testing/gtest/include/gtest/gtest.h"
50 #include "ui/events/keycodes/keyboard_codes.h" 50 #include "ui/events/keycodes/keyboard_codes.h"
51 51
52 using base::ASCIIToUTF16;
53 using base::WideToUTF16;
54
52 namespace autofill { 55 namespace autofill {
53 56
54 class WindowedPersonalDataManagerObserver 57 class WindowedPersonalDataManagerObserver
55 : public PersonalDataManagerObserver, 58 : public PersonalDataManagerObserver,
56 public content::NotificationObserver { 59 public content::NotificationObserver {
57 public: 60 public:
58 explicit WindowedPersonalDataManagerObserver(Browser* browser) 61 explicit WindowedPersonalDataManagerObserver(Browser* browser)
59 : alerted_(false), 62 : alerted_(false),
60 has_run_message_loop_(false), 63 has_run_message_loop_(false),
61 browser_(browser), 64 browser_(browser),
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 IN_PROC_BROWSER_TEST_F(AutofillTest, 723 IN_PROC_BROWSER_TEST_F(AutofillTest,
721 DISABLED_MergeAggregatedDuplicatedProfiles) { 724 DISABLED_MergeAggregatedDuplicatedProfiles) {
722 int num_of_profiles = 725 int num_of_profiles =
723 AggregateProfilesIntoAutofillPrefs("dataset_duplicated_profiles.txt"); 726 AggregateProfilesIntoAutofillPrefs("dataset_duplicated_profiles.txt");
724 727
725 ASSERT_GT(num_of_profiles, 728 ASSERT_GT(num_of_profiles,
726 static_cast<int>(personal_data_manager()->GetProfiles().size())); 729 static_cast<int>(personal_data_manager()->GetProfiles().size()));
727 } 730 }
728 731
729 } // namespace autofill 732 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/zero_suggest_provider.cc ('k') | chrome/browser/autofill/autofill_interactive_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698