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

Unified Diff: chrome/browser/extensions/api/page_capture/page_capture_api.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: 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_;

Powered by Google App Engine
This is Rietveld 408576698