Index: chrome/browser/extensions/api/page_capture/page_capture_api.h |
diff --git a/chrome/browser/extensions/api/page_capture/page_capture_api.h b/chrome/browser/extensions/api/page_capture/page_capture_api.h |
index 4d7e80fffff6246c263e81dc6e93f658738de8ca..e2d6ac42268abf2f817a42a034d438b4b26f4356 100644 |
--- a/chrome/browser/extensions/api/page_capture/page_capture_api.h |
+++ b/chrome/browser/extensions/api/page_capture/page_capture_api.h |
@@ -12,7 +12,9 @@ |
#include "chrome/common/extensions/api/page_capture.h" |
#include "webkit/blob/shareable_file_reference.h" |
+namespace base { |
class FilePath; |
+} |
namespace content { |
class WebContents; |
@@ -29,7 +31,7 @@ class PageCaptureSaveAsMHTMLFunction : public AsyncExtensionFunction { |
public: |
// Called on the UI thread when the temporary file that contains the |
// generated data has been created. |
- virtual void OnTemporaryFileCreated(const FilePath& temp_file) = 0; |
+ virtual void OnTemporaryFileCreated(const base::FilePath& temp_file) = 0; |
}; |
static void SetTestDelegate(TestDelegate* delegate); |
@@ -48,7 +50,7 @@ class PageCaptureSaveAsMHTMLFunction : public AsyncExtensionFunction { |
void ReturnSuccess(int64 file_size); |
// Callback called once the MHTML generation is done. |
- void MHTMLGenerated(const FilePath& file_path, int64 mhtml_file_size); |
+ void MHTMLGenerated(const base::FilePath& file_path, int64 mhtml_file_size); |
// Returns the WebContents we are associated with, NULL if it's been closed. |
content::WebContents* GetWebContents(); |
@@ -56,7 +58,7 @@ class PageCaptureSaveAsMHTMLFunction : public AsyncExtensionFunction { |
scoped_ptr<extensions::api::page_capture::SaveAsMHTML::Params> params_; |
// The path to the temporary file containing the MHTML data. |
- FilePath mhtml_path_; |
+ base::FilePath mhtml_path_; |
// The file containing the MHTML. |
scoped_refptr<webkit_blob::ShareableFileReference> mhtml_file_; |