From 3deb16cc9c3938cbe4e496930ff428389f8b35d1 Mon Sep 17 00:00:00 2001 From: "viettrungluu@chromium.org" Date: Thu, 19 Aug 2010 16:12:07 +0000 Subject: Remove wstrings from bookmarks, part 3. Get rid of wstring BookmarkModel::AddGroup() (and convert lots of uses; also convert many uses of the wstring AddURL() as drive-by's). BUG=23581 TEST=builds and passes tests Review URL: http://codereview.chromium.org/3115017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56689 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/cocoa/applescript/bookmark_folder_applescript.mm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chrome/browser/cocoa/applescript') diff --git a/chrome/browser/cocoa/applescript/bookmark_folder_applescript.mm b/chrome/browser/cocoa/applescript/bookmark_folder_applescript.mm index d7acc58..05e2c27 100644 --- a/chrome/browser/cocoa/applescript/bookmark_folder_applescript.mm +++ b/chrome/browser/cocoa/applescript/bookmark_folder_applescript.mm @@ -5,6 +5,7 @@ #import "chrome/browser/cocoa/applescript/bookmark_folder_applescript.h" #import "base/scoped_nsobject.h" +#import "base/string16.h" #include "base/sys_string_conversions.h" #include "chrome/browser/bookmarks/bookmark_model.h" #import "chrome/browser/cocoa/applescript/bookmark_item_applescript.h" @@ -45,7 +46,7 @@ const BookmarkNode* node = model->AddGroup(bookmarkNode_, bookmarkNode_->GetChildCount(), - std::wstring()); + string16()); if (!node) { AppleScript::SetError(AppleScript::errCreateBookmarkFolder); return; @@ -67,7 +68,7 @@ const BookmarkNode* node = model->AddGroup(bookmarkNode_, position, - std::wstring()); + string16()); if (!node) { AppleScript::SetError(AppleScript::errCreateBookmarkFolder); return; -- cgit v1.1