OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_GLUE_WEBKIT_GLUE_H_ | 5 #ifndef WEBKIT_GLUE_WEBKIT_GLUE_H_ |
6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_ | 6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/platform_file.h" | 10 #include "base/files/file.h" |
11 #include "webkit/glue/webkit_glue_export.h" | 11 #include "webkit/glue/webkit_glue_export.h" |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 struct WebFileInfo; | 14 struct WebFileInfo; |
15 } | 15 } |
16 | 16 |
17 namespace webkit_glue { | 17 namespace webkit_glue { |
18 | 18 |
19 WEBKIT_GLUE_EXPORT void SetJavaScriptFlags(const std::string& flags); | 19 WEBKIT_GLUE_EXPORT void SetJavaScriptFlags(const std::string& flags); |
20 | 20 |
21 // File info conversion | 21 // File info conversion |
22 WEBKIT_GLUE_EXPORT void PlatformFileInfoToWebFileInfo( | 22 WEBKIT_GLUE_EXPORT void FileInfoToWebFileInfo( |
23 const base::PlatformFileInfo& file_info, | 23 const base::File::Info& file_info, |
24 blink::WebFileInfo* web_file_info); | 24 blink::WebFileInfo* web_file_info); |
25 | 25 |
26 } // namespace webkit_glue | 26 } // namespace webkit_glue |
27 | 27 |
28 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ | 28 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ |
OLD | NEW |