diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-02 05:12:33 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-02 05:12:33 +0000 |
commit | a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e (patch) | |
tree | bdd4dac76e6034ef6cf33450e203269a715ea0e6 /chrome/utility | |
parent | 8bc574c57115e9ffd0169f33131c0865997dcb35 (diff) | |
download | chromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.zip chromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.tar.gz chromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.tar.bz2 |
Add FilePath to base namespace.
This updates headers that forward-declare it and a few random places to use the namespace explicitly. There us a using declaration in file_path.h that makes the rest compile, which we can do in future passes.
Review URL: https://codereview.chromium.org/12163003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180245 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/utility')
-rw-r--r-- | chrome/utility/chrome_content_utility_client.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/utility/chrome_content_utility_client.h b/chrome/utility/chrome_content_utility_client.h index 5ef6c704..b28b86e 100644 --- a/chrome/utility/chrome_content_utility_client.h +++ b/chrome/utility/chrome_content_utility_client.h @@ -11,11 +11,11 @@ #include "content/public/utility/content_utility_client.h" #include "printing/pdf_render_settings.h" -class FilePath; class Importer; namespace base { class DictionaryValue; +class FilePath; class Thread; struct FileDescriptor; } @@ -48,7 +48,7 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient { virtual bool Send(IPC::Message* message); // IPC message handlers. - void OnUnpackExtension(const FilePath& extension_path, + void OnUnpackExtension(const base::FilePath& extension_path, const std::string& extension_id, int location, int creation_flags); void OnUnpackWebResource(const std::string& resource_data); @@ -57,7 +57,7 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient { void OnDecodeImageBase64(const std::string& encoded_data); void OnRenderPDFPagesToMetafile( base::PlatformFile pdf_file, - const FilePath& metafile_path, + const base::FilePath& metafile_path, const printing::PdfRenderSettings& pdf_render_settings, const std::vector<printing::PageRange>& page_ranges); void OnRobustJPEGDecodeImage( @@ -65,8 +65,8 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient { void OnParseJSON(const std::string& json); #if defined(OS_CHROMEOS) - void OnCreateZipFile(const FilePath& src_dir, - const std::vector<FilePath>& src_relative_paths, + void OnCreateZipFile(const base::FilePath& src_dir, + const std::vector<base::FilePath>& src_relative_paths, const base::FileDescriptor& dest_fd); #endif // defined(OS_CHROMEOS) @@ -75,7 +75,7 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient { // |highest_rendered_page_number| is set to -1 on failure to render any page. bool RenderPDFToWinMetafile( base::PlatformFile pdf_file, - const FilePath& metafile_path, + const base::FilePath& metafile_path, const gfx::Rect& render_area, int render_dpi, bool autorotate, |