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

Unified Diff: chrome/browser/ui/browser.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/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 20867fdf82c237fa16b613884f8a6eb7fa164514..d1884fda48ac71b48d24adf6ecc0ec30bdee13c1 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -2256,7 +2256,7 @@ bool Browser::MaybeCreateBackgroundContents(
// Only allow a single background contents per app.
bool allow_js_access = extensions::BackgroundInfo::AllowJSAccess(extension);
BackgroundContents* existing =
- service->GetAppBackgroundContents(ASCIIToUTF16(extension->id()));
+ service->GetAppBackgroundContents(base::ASCIIToUTF16(extension->id()));
if (existing) {
// For non-scriptable background contents, ignore the request altogether,
// (returning true, so that a regular WebContents isn't created either).
@@ -2280,7 +2280,7 @@ bool Browser::MaybeCreateBackgroundContents(
route_id,
profile_,
frame_name,
- ASCIIToUTF16(extension->id()),
+ base::ASCIIToUTF16(extension->id()),
partition_id,
session_storage_namespace);
« no previous file with comments | « chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc ('k') | chrome/browser/ui/browser_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698