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

Unified Diff: chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.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 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc
diff --git a/chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc b/chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc
index 7cdfd61a70e34bfef294b1df2f0cc5987f5cbbff..c665fc3aa260dffda55e343082b568e4fae1be44 100644
--- a/chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc
+++ b/chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc
@@ -18,7 +18,7 @@ namespace fullscreen_bubble {
base::string16 GetLabelTextForType(FullscreenExitBubbleType type,
const GURL& url,
ExtensionService* extension_service) {
- base::string16 host(UTF8ToUTF16(url.host()));
+ base::string16 host(base::UTF8ToUTF16(url.host()));
if (extension_service) {
const extensions::ExtensionSet* extensions =
extension_service->extensions();
@@ -26,7 +26,7 @@ base::string16 GetLabelTextForType(FullscreenExitBubbleType type,
const extensions::Extension* extension =
extensions->GetExtensionOrAppByURL(url);
if (extension) {
- host = UTF8ToUTF16(extension->name());
+ host = base::UTF8ToUTF16(extension->name());
} else if (url.SchemeIs(extensions::kExtensionScheme)) {
// In this case, |host| is set to an extension ID.
// We are not going to show it because it's human-unreadable.
« no previous file with comments | « chrome/browser/ui/find_bar/find_bar_host_browsertest.cc ('k') | chrome/browser/ui/gtk/apps/native_app_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698