|
Convert devtools interfaces over to using WebString.
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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29286
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+258 lines, -216 lines) |
Patch |
 |
M |
chrome/renderer/devtools_agent.h
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/devtools_agent.cc
|
View
|
|
3 chunks |
+20 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/devtools_agent_filter.cc
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/devtools_client.h
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/devtools_client.cc
|
View
|
|
4 chunks |
+23 lines, -12 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/devtools/bound_object.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/devtools/debugger_agent.h
|
View
|
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/devtools/debugger_agent_impl.h
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/devtools/debugger_agent_impl.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webkit/glue/devtools/debugger_agent_manager.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/devtools/debugger_agent_manager.cc
|
View
|
|
4 chunks |
+14 lines, -15 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/devtools/devtools_rpc.h
|
View
|
1
|
5 chunks |
+27 lines, -42 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/devtools/devtools_rpc_js.h
|
View
|
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/devtools/tools_agent.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webkit/glue/webdevtoolsagent.h
|
View
|
|
3 chunks |
+10 lines, -7 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webdevtoolsagent_delegate.h
|
View
|
|
1 chunk |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webdevtoolsagent_impl.h
|
View
|
|
1 chunk |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webdevtoolsagent_impl.cc
|
View
|
|
6 chunks |
+35 lines, -20 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webdevtoolsclient.h
|
View
|
|
2 chunks |
+10 lines, -7 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webdevtoolsclient_delegate.h
|
View
|
|
1 chunk |
+10 lines, -7 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webdevtoolsclient_impl.h
|
View
|
|
2 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webdevtoolsclient_impl.cc
|
View
|
|
7 chunks |
+50 lines, -37 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|