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

Unified Diff: webkit/blob/shareable_file_reference.cc

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
« no previous file with comments | « webkit/blob/shareable_file_reference.h ('k') | webkit/blob/shareable_file_reference_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/blob/shareable_file_reference.cc
diff --git a/webkit/blob/shareable_file_reference.cc b/webkit/blob/shareable_file_reference.cc
index f85b97e1c3936f04d254c504ab2ee3deb8005cc7..07acac3a55e5598c4fd4bc8f7a0946c454216009 100644
--- a/webkit/blob/shareable_file_reference.cc
+++ b/webkit/blob/shareable_file_reference.cc
@@ -23,7 +23,7 @@ namespace {
// check thread in the dtor.
class ShareableFileMap {
public:
- typedef std::map<FilePath, ShareableFileReference*> FileMap;
+ typedef std::map<base::FilePath, ShareableFileReference*> FileMap;
typedef FileMap::iterator iterator;
typedef FileMap::key_type key_type;
typedef FileMap::value_type value_type;
@@ -66,7 +66,7 @@ base::LazyInstance<ShareableFileMap> g_file_map = LAZY_INSTANCE_INITIALIZER;
// static
scoped_refptr<ShareableFileReference> ShareableFileReference::Get(
- const FilePath& path) {
+ const base::FilePath& path) {
ShareableFileMap::iterator found = g_file_map.Get().Find(path);
ShareableFileReference* reference =
(found == g_file_map.Get().End()) ? NULL : found->second;
@@ -75,7 +75,7 @@ scoped_refptr<ShareableFileReference> ShareableFileReference::Get(
// static
scoped_refptr<ShareableFileReference> ShareableFileReference::GetOrCreate(
- const FilePath& path, FinalReleasePolicy policy,
+ const base::FilePath& path, FinalReleasePolicy policy,
base::TaskRunner* file_task_runner) {
DCHECK(file_task_runner);
typedef std::pair<ShareableFileMap::iterator, bool> InsertResult;
@@ -101,7 +101,7 @@ void ShareableFileReference::AddFinalReleaseCallback(
}
ShareableFileReference::ShareableFileReference(
- const FilePath& path, FinalReleasePolicy policy,
+ const base::FilePath& path, FinalReleasePolicy policy,
base::TaskRunner* file_task_runner)
: path_(path),
final_release_policy_(policy),
« no previous file with comments | « webkit/blob/shareable_file_reference.h ('k') | webkit/blob/shareable_file_reference_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698