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

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

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « content/browser/download/download_item_factory.h ('k') | content/browser/download/drag_download_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_net_log_parameters.h
diff --git a/content/browser/download/download_net_log_parameters.h b/content/browser/download/download_net_log_parameters.h
index fc38e9551ad6a0ee42295b425d5ffb2eeca6534d..1c12b8d1767bc5c86525df37b7e36cd2d8cd014e 100644
--- a/content/browser/download/download_net_log_parameters.h
+++ b/content/browser/download/download_net_log_parameters.h
@@ -11,9 +11,12 @@
#include "net/base/net_errors.h"
#include "net/base/net_log.h"
-class FilePath;
class GURL;
+namespace base {
+class FilePath;
+}
+
namespace content {
enum DownloadType {
@@ -35,8 +38,8 @@ base::Value* ItemCheckedNetLogCallback(
net::NetLog::LogLevel log_level);
// Returns NetLog parameters when a DownloadItem is renamed.
-base::Value* ItemRenamedNetLogCallback(const FilePath* old_filename,
- const FilePath* new_filename,
+base::Value* ItemRenamedNetLogCallback(const base::FilePath* old_filename,
+ const base::FilePath* new_filename,
net::NetLog::LogLevel log_level);
// Returns NetLog parameters when a DownloadItem is interrupted.
@@ -67,7 +70,7 @@ base::Value* ItemCanceledNetLogCallback(int64 bytes_so_far,
net::NetLog::LogLevel log_level);
// Returns NetLog parameters when a DownloadFile is opened.
-base::Value* FileOpenedNetLogCallback(const FilePath* file_name,
+base::Value* FileOpenedNetLogCallback(const base::FilePath* file_name,
int64 start_offset,
net::NetLog::LogLevel log_level);
@@ -77,8 +80,8 @@ base::Value* FileStreamDrainedNetLogCallback(size_t stream_size,
net::NetLog::LogLevel log_level);
// Returns NetLog parameters when a DownloadFile is renamed.
-base::Value* FileRenamedNetLogCallback(const FilePath* old_filename,
- const FilePath* new_filename,
+base::Value* FileRenamedNetLogCallback(const base::FilePath* old_filename,
+ const base::FilePath* new_filename,
net::NetLog::LogLevel log_level);
// Returns NetLog parameters when a File has an error.
« no previous file with comments | « content/browser/download/download_item_factory.h ('k') | content/browser/download/drag_download_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698