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

Unified Diff: chrome/browser/ui/webui/screenshot_source.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/ui/webui/screenshot_source.h
diff --git a/chrome/browser/ui/webui/screenshot_source.h b/chrome/browser/ui/webui/screenshot_source.h
index 4c7c0c581711f507a3f98cfd0338cbf8f9d440e3..30d80f40bf6366dee28c270ff643d76c57ebd901 100644
--- a/chrome/browser/ui/webui/screenshot_source.h
+++ b/chrome/browser/ui/webui/screenshot_source.h
@@ -23,9 +23,12 @@
typedef std::vector<unsigned char> ScreenshotData;
typedef linked_ptr<ScreenshotData> ScreenshotDataPtr;
-class FilePath;
class Profile;
+namespace base {
+class FilePath;
+}
+
// ScreenshotSource is the data source that serves screenshots (saved
// or current) to the bug report html ui.
class ScreenshotSource : public content::URLDataSource {
@@ -40,7 +43,7 @@ class ScreenshotSource : public content::URLDataSource {
// Common access for the screenshot directory, parameter is set to the
// requested directory and return value of true is given upon success.
- static bool GetScreenshotDirectory(FilePath* directory);
+ static bool GetScreenshotDirectory(base::FilePath* directory);
#endif
// Get the basefilename for screenshots
@@ -89,14 +92,14 @@ class ScreenshotSource : public content::URLDataSource {
void SendSavedScreenshot(
const std::string& screenshot_path,
const content::URLDataSource::GotDataCallback& callback,
- const FilePath& file);
+ const base::FilePath& file);
// The callback for Drive's getting file method.
void GetSavedScreenshotCallback(
const std::string& screenshot_path,
const content::URLDataSource::GotDataCallback& callback,
drive::DriveFileError error,
- const FilePath& file,
+ const base::FilePath& file,
const std::string& unused_mime_type,
drive::DriveFileType file_type);
« no previous file with comments | « chrome/browser/ui/webui/print_preview/sticky_settings.h ('k') | chrome/browser/value_store/value_store_frontend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698