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

Unified Diff: chrome/browser/app_controller_mac.mm

Issue 105193002: Replace string16 with base::string16. (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
« no previous file with comments | « chrome/browser/android/tab_android.cc ('k') | chrome/browser/apps/app_url_redirector_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/app_controller_mac.mm
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm
index 46685ce22944c30c228aed0f7253de4bbf3d0395..41b3e301640bf21c80946238e027259c8815c2ee 100644
--- a/chrome/browser/app_controller_mac.mm
+++ b/chrome/browser/app_controller_mac.mm
@@ -232,8 +232,9 @@ class AppControllerProfileObserver : public ProfileInfoCacheObserver {
virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE {
}
- virtual void OnProfileWasRemoved(const base::FilePath& profile_path,
- const string16& profile_name) OVERRIDE {
+ virtual void OnProfileWasRemoved(
+ const base::FilePath& profile_path,
+ const base::string16& profile_name) OVERRIDE {
// When a profile is deleted we need to notify the AppController,
// so it can correctly update its pointer to the last used profile.
[app_controller_ profileWasRemoved:profile_path];
@@ -243,8 +244,9 @@ class AppControllerProfileObserver : public ProfileInfoCacheObserver {
const base::FilePath& profile_path) OVERRIDE {
}
- virtual void OnProfileNameChanged(const base::FilePath& profile_path,
- const string16& old_profile_name) OVERRIDE {
+ virtual void OnProfileNameChanged(
+ const base::FilePath& profile_path,
+ const base::string16& old_profile_name) OVERRIDE {
}
virtual void OnProfileAvatarChanged(
@@ -1316,8 +1318,8 @@ class AppControllerProfileObserver : public ProfileInfoCacheObserver {
NSString* printTitle = [[paramList descriptorAtIndex:3] stringValue];
NSString* printTicket = [[paramList descriptorAtIndex:4] stringValue];
// Convert the title to UTF 16 as required.
- string16 title16 = base::SysNSStringToUTF16(printTitle);
- string16 printTicket16 = base::SysNSStringToUTF16(printTicket);
+ base::string16 title16 = base::SysNSStringToUTF16(printTitle);
+ base::string16 printTicket16 = base::SysNSStringToUTF16(printTicket);
print_dialog_cloud::CreatePrintDialogForFile(
ProfileManager::GetDefaultProfile(), NULL,
base::FilePath([inputPath UTF8String]), title16,
« no previous file with comments | « chrome/browser/android/tab_android.cc ('k') | chrome/browser/apps/app_url_redirector_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698