diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-08 19:56:14 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-08 19:56:14 +0000 |
commit | a771dc3feb97ae20170cf5617ba48d6340549698 (patch) | |
tree | 2482dd2533a3341ede166407b6eb3761a28ec4e7 /chrome/test/pyautolib/pyautolib.h | |
parent | 0f786468a0c44da5093c6759915e1c0384535adf (diff) | |
download | chromium_src-a771dc3feb97ae20170cf5617ba48d6340549698.zip chromium_src-a771dc3feb97ae20170cf5617ba48d6340549698.tar.gz chromium_src-a771dc3feb97ae20170cf5617ba48d6340549698.tar.bz2 |
Revert 74118 - Remove wstring from RVH's run Javascript command.
BUG=23581
TEST=no visible changes; all tests pass
Review URL: http://codereview.chromium.org/6312154
TBR=avi@chromium.org
Review URL: http://codereview.chromium.org/6459002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74158 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/pyautolib/pyautolib.h')
-rw-r--r-- | chrome/test/pyautolib/pyautolib.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chrome/test/pyautolib/pyautolib.h b/chrome/test/pyautolib/pyautolib.h index 3abe987..a3a8e23 100644 --- a/chrome/test/pyautolib/pyautolib.h +++ b/chrome/test/pyautolib/pyautolib.h @@ -135,23 +135,23 @@ class PyUITestBase : public UITestBase { std::string _GetBookmarksAsJSON(); // Editing of the bookmark model. Bookmarks are referenced by id. - // The id is a string16, not an int64, for convenience, since + // The id is a std::wstring, 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(const string16& parent_id, int index, - const string16& title); - bool AddBookmarkURL(const string16& parent_id, int index, - const string16& title, const string16& url); + 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); // Bookmark editing: - bool ReparentBookmark(const string16& id, const string16& new_parent_id, + bool ReparentBookmark(std::wstring& id, std::wstring& new_parent_id, int index); - bool SetBookmarkTitle(const string16& id, const string16& title); - bool SetBookmarkURL(const string16& id, const string16& url); + bool SetBookmarkTitle(std::wstring& id, std::wstring& title); + bool SetBookmarkURL(std::wstring& id, std::wstring& url); // Finally, bookmark deletion: - bool RemoveBookmark(const string16& id); + bool RemoveBookmark(std::wstring& id); // Get a handle to browser window at the given index, or NULL on failure. scoped_refptr<BrowserProxy> GetBrowserWindow(int window_index); |