diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-04 18:04:37 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-04 18:04:37 +0000 |
commit | 2edc286744f23ada9325f8e8fb4c8967a20842e9 (patch) | |
tree | cf9d551b64d3a84ba616182f93fa80cef07ad218 /base/file_path.h | |
parent | 55801ac3a9d6ea284fa27350ffa59e39197f3aca (diff) | |
download | chromium_src-2edc286744f23ada9325f8e8fb4c8967a20842e9.zip chromium_src-2edc286744f23ada9325f8e8fb4c8967a20842e9.tar.gz chromium_src-2edc286744f23ada9325f8e8fb4c8967a20842e9.tar.bz2 |
iwyu: Cleanup in the following files:
* at_exit.cc
* atomicops.h
* base_paths.h
* bzip2_error_handler.cc
* callback_internal.h
* command_line.cc
* cpu.cc
* environment.h
* event_recorder.cc
* file_descriptor_shuffle.cc
* file_path.cc
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6759017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80340 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_path.h')
-rw-r--r-- | base/file_path.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/base/file_path.h b/base/file_path.h index 8ec66a2..fd9260c 100644 --- a/base/file_path.h +++ b/base/file_path.h @@ -100,14 +100,16 @@ #define BASE_FILE_PATH_H_ #pragma once +#include <stddef.h> #include <string> #include <vector> #include "base/base_api.h" -#include "base/basictypes.h" #include "base/compiler_specific.h" #include "base/hash_tables.h" +#include "base/string16.h" #include "base/string_piece.h" // For implicit conversions. +#include "build/build_config.h" // Windows-style drive letter support and pathname separator characters can be // enabled and disabled independently, to aid testing. These #defines are @@ -386,7 +388,7 @@ namespace __gnu_cxx { template<> struct hash<FilePath> { - std::size_t operator()(const FilePath& f) const { + size_t operator()(const FilePath& f) const { return hash<FilePath::StringType>()(f.value()); } }; |