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

Unified Diff: content/browser/download/download_file.h

Issue 9316004: Move common file path related methods between chrome & content to file_util. I reduced the 4 meth... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove includes Created 8 years, 11 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
« no previous file with comments | « chrome/browser/web_applications/web_app.cc ('k') | content/browser/download/download_file_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_file.h
===================================================================
--- content/browser/download/download_file.h (revision 119906)
+++ content/browser/download/download_file.h (working copy)
@@ -71,27 +71,6 @@
virtual const DownloadId& GlobalId() const = 0;
virtual std::string DebugString() const = 0;
-
- // Appends the passed-in |number| between parenthesis to the |path| before
- // the file extension.
- static void AppendNumberToPath(FilePath* path, int number);
-
- // Appends the passed-in |suffix| to the |path|.
- static FilePath AppendSuffixToPath(const FilePath& path,
- const FilePath::StringType& suffix);
-
- // Attempts to find a number that can be appended to the |path| to make it
- // unique. If |path| does not exist, 0 is returned. If it fails to find such
- // a number, -1 is returned.
- static int GetUniquePathNumber(const FilePath& path);
-
- // Same as GetUniquePathNumber, except that it also checks the existence
- // of it with the given suffix.
- // If |path| does not exist, 0 is returned. If it fails to find such
- // a number, -1 is returned.
- static int GetUniquePathNumberWithSuffix(
- const FilePath& path,
- const FilePath::StringType& suffix);
};
} // namespace content
« no previous file with comments | « chrome/browser/web_applications/web_app.cc ('k') | content/browser/download/download_file_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698