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

Side by Side Diff: webkit/base/file_path_string_conversions.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « webkit/base/data_element.cc ('k') | webkit/base/file_path_string_conversions.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef WEBKIT_BASE_FILE_PATH_STRING_CONVERSIONS_H_ 5 #ifndef WEBKIT_BASE_FILE_PATH_STRING_CONVERSIONS_H_
6 #define WEBKIT_BASE_FILE_PATH_STRING_CONVERSIONS_H_ 6 #define WEBKIT_BASE_FILE_PATH_STRING_CONVERSIONS_H_
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "webkit/base/webkit_base_export.h" 9 #include "webkit/base/webkit_base_export.h"
10 10
11 namespace WebKit { 11 namespace WebKit {
12 class WebString; 12 class WebString;
13 } 13 }
14 14
15 namespace webkit_base { 15 namespace webkit_base {
16 16
17 WEBKIT_BASE_EXPORT FilePath::StringType WebStringToFilePathString( 17 WEBKIT_BASE_EXPORT base::FilePath::StringType WebStringToFilePathString(
18 const WebKit::WebString& str); 18 const WebKit::WebString& str);
19 WEBKIT_BASE_EXPORT WebKit::WebString FilePathStringToWebString( 19 WEBKIT_BASE_EXPORT WebKit::WebString FilePathStringToWebString(
20 const FilePath::StringType& str); 20 const base::FilePath::StringType& str);
21 WEBKIT_BASE_EXPORT FilePath WebStringToFilePath(const WebKit::WebString& str); 21 WEBKIT_BASE_EXPORT base::FilePath WebStringToFilePath(const WebKit::WebString& s tr);
22 WEBKIT_BASE_EXPORT WebKit::WebString FilePathToWebString( 22 WEBKIT_BASE_EXPORT WebKit::WebString FilePathToWebString(
23 const FilePath& file_path); 23 const base::FilePath& file_path);
24 24
25 } // namespace webkit_base 25 } // namespace webkit_base
26 26
27 #endif // WEBKIT_BASE_FILE_PATH_STRING_CONVERSIONS_H_ 27 #endif // WEBKIT_BASE_FILE_PATH_STRING_CONVERSIONS_H_
OLDNEW
« no previous file with comments | « webkit/base/data_element.cc ('k') | webkit/base/file_path_string_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698