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

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

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.h
diff --git a/third_party/WebKit/Source/modules/filesystem/DOMFilePath.h b/third_party/WebKit/Source/modules/filesystem/DOMFilePath.h
index c5ebf2a3367eb61df0ace3aa563779229755dd6e..27a88aaaa723c441a5b82c9376b243d3af21b2a9 100644
--- a/third_party/WebKit/Source/modules/filesystem/DOMFilePath.h
+++ b/third_party/WebKit/Source/modules/filesystem/DOMFilePath.h
@@ -50,13 +50,16 @@ class DOMFilePath {
// Returns the parent directory path of the given path.
static String getDirectory(const String& path);
- // Checks if a given path is a parent of mayBeChild. This method assumes given paths are absolute and do not have extra references to a parent (i.e. "../").
+ // Checks if a given path is a parent of mayBeChild. This method assumes given
+ // paths are absolute and do not have extra references to a parent (i.e.
+ // "../").
static bool isParentOf(const String& path, const String& mayBeChild);
// Appends the separator at the end of the path if it's not there already.
static String ensureDirectoryPath(const String& path);
- // Returns a new path by appending a separator and the supplied path component to the path.
+ // Returns a new path by appending a separator and the supplied path component
+ // to the path.
static String append(const String& path, const String& component);
static bool isAbsolute(const String& path) {
@@ -67,7 +70,8 @@ class DOMFilePath {
return path[path.length() - 1] == DOMFilePath::separator;
}
- // Evaluates all "../" and "./" segments. Note that "/../" expands to "/", so you can't ever refer to anything above the root directory.
+ // Evaluates all "../" and "./" segments. Note that "/../" expands to "/", so
+ // you can't ever refer to anything above the root directory.
static String removeExtraParentReferences(const String& path);
// Checks if the given path follows the FileSystem API naming restrictions.
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/Response.cpp ('k') | third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698