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

Side by Side Diff: content/child/webfileutilities_impl.cc

Issue 538403002: Change base/file_utils.h includes to base/files/file_utils.h in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « content/child/webcrypto/test/test_helpers.cc ('k') | content/common/content_paths.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/child/webfileutilities_impl.h" 5 #include "content/child/webfileutilities_impl.h"
6 6
7 #include "base/file_util.h"
8 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/files/file_util.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "content/child/file_info_util.h" 10 #include "content/child/file_info_util.h"
11 #include "net/base/file_stream.h" 11 #include "net/base/file_stream.h"
12 #include "net/base/filename_util.h" 12 #include "net/base/filename_util.h"
13 #include "third_party/WebKit/public/platform/WebFileInfo.h" 13 #include "third_party/WebKit/public/platform/WebFileInfo.h"
14 #include "third_party/WebKit/public/platform/WebString.h" 14 #include "third_party/WebKit/public/platform/WebString.h"
15 #include "third_party/WebKit/public/platform/WebURL.h" 15 #include "third_party/WebKit/public/platform/WebURL.h"
16 16
17 using blink::WebString; 17 using blink::WebString;
18 18
(...skipping 28 matching lines...) Expand all
47 47
48 WebString WebFileUtilitiesImpl::baseName(const WebString& path) { 48 WebString WebFileUtilitiesImpl::baseName(const WebString& path) {
49 return base::FilePath::FromUTF16Unsafe(path).BaseName().AsUTF16Unsafe(); 49 return base::FilePath::FromUTF16Unsafe(path).BaseName().AsUTF16Unsafe();
50 } 50 }
51 51
52 blink::WebURL WebFileUtilitiesImpl::filePathToURL(const WebString& path) { 52 blink::WebURL WebFileUtilitiesImpl::filePathToURL(const WebString& path) {
53 return net::FilePathToFileURL(base::FilePath::FromUTF16Unsafe(path)); 53 return net::FilePathToFileURL(base::FilePath::FromUTF16Unsafe(path));
54 } 54 }
55 55
56 } // namespace content 56 } // namespace content
OLDNEW
« no previous file with comments | « content/child/webcrypto/test/test_helpers.cc ('k') | content/common/content_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698