Index: chrome/test/pyautolib/pyautolib.h |
=================================================================== |
--- chrome/test/pyautolib/pyautolib.h (revision 73805) |
+++ chrome/test/pyautolib/pyautolib.h (working copy) |
@@ -135,16 +135,16 @@ |
std::string _GetBookmarksAsJSON(); |
// Editing of the bookmark model. Bookmarks are referenced by id. |
- // The id is a std::wstring, not an int64, for convenience, since |
+ // The id is a string16, not an int64, for convenience, since |
// the python side gets IDs converted from a JSON representation |
// (which "extracts" into a string, not an int). Since IDs are |
// grabbed from the current model (and not generated), a conversion |
// is unnecessary. URLs are strings and not GURLs for a similar reason. |
// Bookmark or group (folder) creation: |
- bool AddBookmarkGroup(std::wstring& parent_id, int index, |
- std::wstring& title); |
- bool AddBookmarkURL(std::wstring& parent_id, int index, |
- std::wstring& title, std::wstring& url); |
+ bool AddBookmarkGroup(const std::wstring& parent_id, int index, |
+ const std::wstring& title); |
+ bool AddBookmarkURL(const std::wstring& parent_id, int index, |
+ const std::wstring& title, const std::wstring& url); |
// Bookmark editing: |
bool ReparentBookmark(std::wstring& id, std::wstring& new_parent_id, |
int index); |