diff options
| author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 16:12:07 +0000 |
|---|---|---|
| committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 16:12:07 +0000 |
| commit | 3deb16cc9c3938cbe4e496930ff428389f8b35d1 (patch) | |
| tree | c94080257e1e9b3cf2f3b5bdfe163b591fa1779e /chrome/browser/cocoa/applescript/bookmark_folder_applescript.mm | |
| parent | 24f413c12946b59b6b1a6c9147b1a7980c16ae6e (diff) | |
| download | chromium_src-3deb16cc9c3938cbe4e496930ff428389f8b35d1.zip chromium_src-3deb16cc9c3938cbe4e496930ff428389f8b35d1.tar.gz chromium_src-3deb16cc9c3938cbe4e496930ff428389f8b35d1.tar.bz2 | |
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
Diffstat (limited to 'chrome/browser/cocoa/applescript/bookmark_folder_applescript.mm')
| -rw-r--r-- | chrome/browser/cocoa/applescript/bookmark_folder_applescript.mm | 5 |
1 files changed, 3 insertions, 2 deletions
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; |
