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

Unified Diff: content/browser/safe_util_win.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
Index: content/browser/safe_util_win.h
diff --git a/content/browser/safe_util_win.h b/content/browser/safe_util_win.h
index a8cb077ed4ff13c0fb8423c6a0cdc368004bbc75..16367488b3adac4435afe1f23869a07292f2d043 100644
--- a/content/browser/safe_util_win.h
+++ b/content/browser/safe_util_win.h
@@ -8,9 +8,12 @@
#include <string>
#include <windows.h>
-class FilePath;
class GURL;
+namespace base {
+class FilePath;
+}
+
namespace content {
// Open or run a downloaded file via the Windows shell, possibly showing first
@@ -38,7 +41,7 @@ namespace content {
// dialog.
// Returns 'true' on successful open, 'false' otherwise.
bool SaferOpenItemViaShell(HWND hwnd, const std::wstring& window_title,
- const FilePath& full_path,
+ const base::FilePath& full_path,
const std::wstring& source_url);
// Invokes IAttachmentExecute::Save to validate the downloaded file. The call
@@ -66,7 +69,7 @@ bool SaferOpenItemViaShell(HWND hwnd, const std::wstring& window_title,
// |full_path| : is the path to the downloaded file. This should be the final
// path of the download.
// |source_url|: the source URL for the download.
-HRESULT ScanAndSaveDownloadedFile(const FilePath& full_path,
+HRESULT ScanAndSaveDownloadedFile(const base::FilePath& full_path,
const GURL& source_url);
} // namespace content
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_context_impl.h ('k') | content/browser/storage_partition_impl_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698