summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/page_capture/page_capture_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/api/page_capture/page_capture_api.h')
-rw-r--r--chrome/browser/extensions/api/page_capture/page_capture_api.h8
1 files changed, 5 insertions, 3 deletions
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 4d7e80f..e2d6ac4 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_;