summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/applescript
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-19 16:12:07 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-19 16:12:07 +0000
commit3deb16cc9c3938cbe4e496930ff428389f8b35d1 (patch)
treec94080257e1e9b3cf2f3b5bdfe163b591fa1779e /chrome/browser/cocoa/applescript
parent24f413c12946b59b6b1a6c9147b1a7980c16ae6e (diff)
downloadchromium_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')
-rw-r--r--chrome/browser/cocoa/applescript/bookmark_folder_applescript.mm5
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;