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 3 // found in the LICENSE file. 4 5 #ifndef WEBKIT_GLUE_WEBKIT_GLUE_H_ 6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_ 7 8 #include <string> 9 10 #include "base/platform_file.h" 11 #include "webkit/glue/webkit_glue_export.h" 12 13 namespace blink { 14 struct WebFileInfo; 15 } 16 17 namespace webkit_glue { 18 19 WEBKIT_GLUE_EXPORT void SetJavaScriptFlags(const std::string& flags); 20 21 // File info conversion 22 WEBKIT_GLUE_EXPORT void PlatformFileInfoToWebFileInfo( 23 const base::PlatformFileInfo& file_info, 24 blink::WebFileInfo* web_file_info); 25 26 } // namespace webkit_glue 27 28 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ 29