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

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

Issue 12314090: Add utf_string_conversions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/file_util.h" 8 #include "base/file_util.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 29 matching lines...) Expand all
40 #include "content/public/browser/notification_registrar.h" 40 #include "content/public/browser/notification_registrar.h"
41 #include "content/public/browser/notification_service.h" 41 #include "content/public/browser/notification_service.h"
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 "net/url_request/test_url_fetcher_factory.h" 46 #include "net/url_request/test_url_fetcher_factory.h"
47 #include "testing/gtest/include/gtest/gtest.h" 47 #include "testing/gtest/include/gtest/gtest.h"
48 #include "ui/base/keycodes/keyboard_codes.h" 48 #include "ui/base/keycodes/keyboard_codes.h"
49 49
50 using base::WideToUTF16;
50 using content::RenderViewHost; 51 using content::RenderViewHost;
51 using content::RenderViewHostTester; 52 using content::RenderViewHostTester;
52 using content::WebContents; 53 using content::WebContents;
53 54
54 static const char* kDataURIPrefix = "data:text/html;charset=utf-8,"; 55 static const char* kDataURIPrefix = "data:text/html;charset=utf-8,";
55 static const char* kTestFormString = 56 static const char* kTestFormString =
56 "<form action=\"http://www.example.com/\" method=\"POST\">" 57 "<form action=\"http://www.example.com/\" method=\"POST\">"
57 "<label for=\"firstname\">First name:</label>" 58 "<label for=\"firstname\">First name:</label>"
58 " <input type=\"text\" id=\"firstname\"" 59 " <input type=\"text\" id=\"firstname\""
59 " onFocus=\"domAutomationController.send(true)\"><br>" 60 " onFocus=\"domAutomationController.send(true)\"><br>"
(...skipping 1612 matching lines...) Expand 10 before | Expand all | Expand 10 after
1672 // TODO(isherman): this looks redundant, consider removing. 1673 // TODO(isherman): this looks redundant, consider removing.
1673 // DISABLED: http://crbug.com/150084 1674 // DISABLED: http://crbug.com/150084
1674 IN_PROC_BROWSER_TEST_F(AutofillTest, 1675 IN_PROC_BROWSER_TEST_F(AutofillTest,
1675 DISABLED_MergeAggregatedDuplicatedProfiles) { 1676 DISABLED_MergeAggregatedDuplicatedProfiles) {
1676 int num_of_profiles = 1677 int num_of_profiles =
1677 AggregateProfilesIntoAutofillPrefs("dataset_no_address.txt"); 1678 AggregateProfilesIntoAutofillPrefs("dataset_no_address.txt");
1678 1679
1679 ASSERT_GT(num_of_profiles, 1680 ASSERT_GT(num_of_profiles,
1680 static_cast<int>(personal_data_manager()->GetProfiles().size())); 1681 static_cast<int>(personal_data_manager()->GetProfiles().size()));
1681 } 1682 }
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/history_url_provider_unittest.cc ('k') | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698