summaryrefslogtreecommitdiff
path: root/content/browser/download/base_file.h
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@google.com>2013-03-28 15:31:22 +0000
committerTorne (Richard Coles) <torne@google.com>2013-03-28 15:31:22 +0000
commit2a99a7e74a7f215066514fe81d2bfa6639d9eddd (patch)
tree7c2d04841fcd599fd83b0f0bb1100e1c89a35bae /content/browser/download/base_file.h
parent61c449bbbb53310a8c041d8cefdd6b01a126cc7e (diff)
downloadchromium_org-2a99a7e74a7f215066514fe81d2bfa6639d9eddd.tar.gz
Merge from Chromium at DEPS revision r190564
This commit was generated by merge_to_master.py. Change-Id: Icadecbce29854b8fa25fd335b2c1949b5ca5d170
Diffstat (limited to 'content/browser/download/base_file.h')
-rw-r--r--content/browser/download/base_file.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/content/browser/download/base_file.h b/content/browser/download/base_file.h
index f10f04366f..faa73c8b93 100644
--- a/content/browser/download/base_file.h
+++ b/content/browser/download/base_file.h
@@ -7,7 +7,7 @@
#include <string>
-#include "base/file_path.h"
+#include "base/files/file_path.h"
#include "base/gtest_prod_util.h"
#include "base/memory/linked_ptr.h"
#include "base/memory/scoped_ptr.h"
@@ -34,7 +34,7 @@ class CONTENT_EXPORT BaseFile {
public:
// May be constructed on any thread. All other routines (including
// destruction) must occur on the FILE thread.
- BaseFile(const FilePath& full_path,
+ BaseFile(const base::FilePath& full_path,
const GURL& source_url,
const GURL& referrer_url,
int64 received_bytes,
@@ -50,7 +50,7 @@ class CONTENT_EXPORT BaseFile {
// |default_directory| and |full_path()| are empty, then a temporary file will
// be created in the default download location as determined by
// ContentBrowserClient.
- DownloadInterruptReason Initialize(const FilePath& default_directory);
+ DownloadInterruptReason Initialize(const base::FilePath& default_directory);
// Write a new chunk of data to the file. Returns a DownloadInterruptReason
// indicating the result of the operation.
@@ -58,7 +58,7 @@ class CONTENT_EXPORT BaseFile {
// Rename the download file. Returns a DownloadInterruptReason indicating the
// result of the operation.
- virtual DownloadInterruptReason Rename(const FilePath& full_path);
+ virtual DownloadInterruptReason Rename(const base::FilePath& full_path);
// Detach the file so it is not deleted on destruction.
virtual void Detach();
@@ -76,7 +76,7 @@ class CONTENT_EXPORT BaseFile {
// Calculate and return the current speed in bytes per second.
int64 CurrentSpeed() const;
- FilePath full_path() const { return full_path_; }
+ base::FilePath full_path() const { return full_path_; }
bool in_progress() const { return file_stream_.get() != NULL; }
int64 bytes_so_far() const { return bytes_so_far_; }
@@ -114,7 +114,7 @@ class CONTENT_EXPORT BaseFile {
// security descriptor / permissions on the file to match the defaults for the
// new directory.
DownloadInterruptReason MoveFileAndAdjustPermissions(
- const FilePath& new_path);
+ const base::FilePath& new_path);
// Split out from CurrentSpeed to enable testing.
int64 CurrentSpeedAtTime(base::TimeTicks current_time) const;
@@ -137,7 +137,7 @@ class CONTENT_EXPORT BaseFile {
static const unsigned char kEmptySha256Hash[kSha256HashLen];
// Full path to the file including the file name.
- FilePath full_path_;
+ base::FilePath full_path_;
// Source URL for the file being downloaded.
GURL source_url_;