• darin@chromium.org's avatar
    Convert devtools interfaces over to using WebString. · 4f4dc2f3
    darin@chromium.org authored
    Also converts some internal std::string usage to WebCore::String.
    Note: copying WebString to WebCore::String is very cheap (just
    increments a reference count). 
    
    The ugly WebStringToString and StringToWebString calls inside the
    devtools implementation are temporary.  Once this code moves into
    the WebKit API implementation, those methods will go away.
    
    I thought about changing the devtools IPCs to use string16 instead
    of std::string because that would avoid the UTF8 conversions.  I'm
    not sure if that is worth it though given that UTF16 would increase
    the amount of data being sent over IPC.  I figure this is something
    that could be studied later.
    
    R=pfeldman
    BUG=24597
    TEST=none
    
    Review URL: http://codereview.chromium.org/264077
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29286 0039d316-1c4b-4281-b951-d872f2087c98
    4f4dc2f3
webdevtoolsclient_delegate.h 1.18 KB