Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(797)

Unified Diff: third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp

Issue 2388423003: reflow comments in modules/[fetch,indexeddb] (Closed)
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp b/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp
index 8e83278469e848b20c55c21ce259069a101d0a51..a9f91a421ae58094d319dc84ce41b9ae4f400fc5 100644
--- a/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp
@@ -111,11 +111,13 @@ bool DOMFilePath::isValidPath(const String& path) {
if (path.find(static_cast<UChar>(0)) != WTF::kNotFound)
return false;
- // While not [yet] restricted by the spec, '\\' complicates implementation for Chromium.
+ // While not [yet] restricted by the spec, '\\' complicates implementation for
+ // Chromium.
if (path.find('\\') != WTF::kNotFound)
return false;
- // This method is only called on fully-evaluated absolute paths. Any sign of ".." or "." is likely an attempt to break out of the sandbox.
+ // This method is only called on fully-evaluated absolute paths. Any sign of
+ // ".." or "." is likely an attempt to break out of the sandbox.
Vector<String> components;
path.split(DOMFilePath::separator, components);
for (size_t i = 0; i < components.size(); ++i) {

Powered by Google App Engine
This is Rietveld 408576698