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

Side by Side Diff: ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc

Issue 117983002: Prefix string16 with base:: in ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years 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 "ui/base/dragdrop/os_exchange_data_provider_aurax11.h" 5 #include "ui/base/dragdrop/os_exchange_data_provider_aurax11.h"
6 6
7 // Clean up X11 header polution 7 // Clean up X11 header polution
8 #undef None 8 #undef None
9 #undef Bool 9 #undef Bool
10 10
(...skipping 14 matching lines...) Expand all
25 provider.SetURL(GURL(kGoogleURL), ASCIIToUTF16(kGoogleTitle)); 25 provider.SetURL(GURL(kGoogleURL), ASCIIToUTF16(kGoogleTitle));
26 { 26 {
27 GURL out_gurl; 27 GURL out_gurl;
28 base::string16 out_str; 28 base::string16 out_str;
29 EXPECT_TRUE(provider.GetURLAndTitle(&out_gurl, &out_str)); 29 EXPECT_TRUE(provider.GetURLAndTitle(&out_gurl, &out_str));
30 EXPECT_EQ(ASCIIToUTF16(kGoogleTitle), out_str); 30 EXPECT_EQ(ASCIIToUTF16(kGoogleTitle), out_str);
31 EXPECT_EQ(kGoogleURL, out_gurl.spec()); 31 EXPECT_EQ(kGoogleURL, out_gurl.spec());
32 } 32 }
33 33
34 // Check that we can get non-titled entries. 34 // Check that we can get non-titled entries.
35 provider.SetURL(GURL(kGoogleURL), string16()); 35 provider.SetURL(GURL(kGoogleURL), base::string16());
36 { 36 {
37 GURL out_gurl; 37 GURL out_gurl;
38 base::string16 out_str; 38 base::string16 out_str;
39 EXPECT_TRUE(provider.GetURLAndTitle(&out_gurl, &out_str)); 39 EXPECT_TRUE(provider.GetURLAndTitle(&out_gurl, &out_str));
40 EXPECT_EQ(string16(), out_str); 40 EXPECT_EQ(base::string16(), out_str);
41 EXPECT_EQ(kGoogleURL, out_gurl.spec()); 41 EXPECT_EQ(kGoogleURL, out_gurl.spec());
42 } 42 }
43 } 43 }
OLDNEW
« no previous file with comments | « ui/base/dragdrop/os_exchange_data_provider_aurax11.cc ('k') | ui/base/dragdrop/os_exchange_data_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698