|
Add utility method for WebString to base::FilePath conversion
Converting WebString to base::FilePath used to go through string16, but
- FilePath can take UTF8 depending on platforms (e.g. on posix), and
- We can use StringPiece to avoid extra string copy when possible
BUG=n/a
Committed: https://crrev.com/b473f003f012766b87c4a14672f924ea7cffaea5
Cr-Commit-Position: refs/heads/master@{#376688}
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+129 lines, -43 lines) |
Patch |
 |
M |
base/files/file_path.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
base/files/file_path.cc
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/child/simple_webmimeregistry_impl.cc
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/child/web_url_request_util.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/child/webblobregistry_impl.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/child/webfileutilities_impl.cc
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/drop_data_builder.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/url_response_info_util.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/renderer_blink_platform_impl.cc
|
View
|
1
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/shell/renderer/layout_test/blink_test_runner.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/test/weburl_loader_mock_factory.cc
|
View
|
|
2 chunks |
+2 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/blink_platform.gyp
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/blink_platform.gypi
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/blink_platform_tests.gyp
|
View
|
1
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/platform/exported/FilePathConversion.cpp
|
View
|
1
2
3
4
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/platform/exported/FilePathConversionTest.cpp
|
View
|
1
2
3
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/testing/DEPS
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/blink_headers.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A + |
third_party/WebKit/public/platform/FilePathConversion.h
|
View
|
|
1 chunk |
+7 lines, -5 lines |
0 comments
|
Download
|
Total messages: 63 (34 generated)
|