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

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc

Issue 112913004: 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: 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 #include "third_party/WebKit/public/web/WebInputEvent.h" 59 #include "third_party/WebKit/public/web/WebInputEvent.h"
60 #include "ui/base/window_open_disposition.h" 60 #include "ui/base/window_open_disposition.h"
61 #include "url/gurl.h" 61 #include "url/gurl.h"
62 62
63 #if defined(OS_MACOSX) 63 #if defined(OS_MACOSX)
64 #include "base/mac/mac_util.h" 64 #include "base/mac/mac_util.h"
65 #include "base/mac/scoped_nsautorelease_pool.h" 65 #include "base/mac/scoped_nsautorelease_pool.h"
66 #include "chrome/browser/ui/cocoa/run_loop_testing.h" 66 #include "chrome/browser/ui/cocoa/run_loop_testing.h"
67 #endif 67 #endif
68 68
69 using base::ASCIIToUTF16;
70
69 namespace autofill { 71 namespace autofill {
70 72
71 namespace { 73 namespace {
72 74
73 using testing::_; 75 using testing::_;
74 76
75 void MockCallback(const FormStructure*) {} 77 void MockCallback(const FormStructure*) {}
76 78
77 class MockAutofillMetrics : public AutofillMetrics { 79 class MockAutofillMetrics : public AutofillMetrics {
78 public: 80 public:
(...skipping 1337 matching lines...) Expand 10 before | Expand all | Expand 10 after
1416 MAYBE_DoesntWorkOnBrokenHttps) { 1418 MAYBE_DoesntWorkOnBrokenHttps) {
1417 net::SpawnedTestServer https_server( 1419 net::SpawnedTestServer https_server(
1418 net::SpawnedTestServer::TYPE_HTTPS, 1420 net::SpawnedTestServer::TYPE_HTTPS,
1419 SSLOptions(SSLOptions::CERT_EXPIRED), 1421 SSLOptions(SSLOptions::CERT_EXPIRED),
1420 base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); 1422 base::FilePath(FILE_PATH_LITERAL("chrome/test/data")));
1421 ASSERT_TRUE(https_server.Start()); 1423 ASSERT_TRUE(https_server.Start());
1422 EXPECT_FALSE(RunTestPage(https_server)); 1424 EXPECT_FALSE(RunTestPage(https_server));
1423 } 1425 }
1424 1426
1425 } // namespace autofill 1427 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698