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

Side by Side Diff: webkit/glue/webkitclient_impl.cc

Issue 465065: Use utf_string_conversions header in more places. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: rebased Created 11 years 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 | Annotate | Revision Log
« no previous file with comments | « webkit/glue/glue_serialize.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #include "webkit/glue/webkitclient_impl.h" 5 #include "webkit/glue/webkitclient_impl.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "base/process_util.h" 12 #include "base/process_util.h"
13 #include "base/platform_file.h" 13 #include "base/platform_file.h"
14 #include "base/stats_counters.h" 14 #include "base/stats_counters.h"
15 #include "base/string_util.h" 15 #include "base/utf_string_conversions.h"
16 #include "base/trace_event.h" 16 #include "base/trace_event.h"
17 #include "grit/webkit_resources.h" 17 #include "grit/webkit_resources.h"
18 #include "grit/webkit_strings.h" 18 #include "grit/webkit_strings.h"
19 #include "net/base/net_util.h" 19 #include "net/base/net_util.h"
20 #include "third_party/WebKit/WebKit/chromium/public/WebCookie.h" 20 #include "third_party/WebKit/WebKit/chromium/public/WebCookie.h"
21 #include "third_party/WebKit/WebKit/chromium/public/WebData.h" 21 #include "third_party/WebKit/WebKit/chromium/public/WebData.h"
22 #include "third_party/WebKit/WebKit/chromium/public/WebFrameClient.h" 22 #include "third_party/WebKit/WebKit/chromium/public/WebFrameClient.h"
23 #include "third_party/WebKit/WebKit/chromium/public/WebPluginListBuilder.h" 23 #include "third_party/WebKit/WebKit/chromium/public/WebPluginListBuilder.h"
24 #include "third_party/WebKit/WebKit/chromium/public/WebScreenInfo.h" 24 #include "third_party/WebKit/WebKit/chromium/public/WebScreenInfo.h"
25 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" 25 #include "third_party/WebKit/WebKit/chromium/public/WebString.h"
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 bool WebKitClientImpl::isDirectory(const WebKit::WebString& path) { 381 bool WebKitClientImpl::isDirectory(const WebKit::WebString& path) {
382 FilePath file_path(webkit_glue::WebStringToFilePathString(path)); 382 FilePath file_path(webkit_glue::WebStringToFilePathString(path));
383 return file_util::DirectoryExists(file_path); 383 return file_util::DirectoryExists(file_path);
384 } 384 }
385 385
386 WebKit::WebURL WebKitClientImpl::filePathToURL(const WebKit::WebString& path) { 386 WebKit::WebURL WebKitClientImpl::filePathToURL(const WebKit::WebString& path) {
387 return net::FilePathToFileURL(webkit_glue::WebStringToFilePath(path)); 387 return net::FilePathToFileURL(webkit_glue::WebStringToFilePath(path));
388 } 388 }
389 389
390 } // namespace webkit_glue 390 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/glue_serialize.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698