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

Unified Diff: webkit/glue/glue_serialize.h

Issue 10695107: Fix: file permissions when restoring a page with file inputs with selected files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: webkit/glue/glue_serialize.h
diff --git a/webkit/glue/glue_serialize.h b/webkit/glue/glue_serialize.h
index 56b68448e732e850b6327f4b743e33d376f32767..a1dc11135084f0ef8a5e03a631470b98ecf88461 100644
--- a/webkit/glue/glue_serialize.h
+++ b/webkit/glue/glue_serialize.h
@@ -28,6 +28,11 @@ WEBKIT_GLUE_EXPORT WebKit::WebHistoryItem HistoryItemFromString(
WEBKIT_GLUE_EXPORT std::vector<FilePath> FilePathsFromHistoryState(
const std::string& content_state);
+// Reads file paths from the selected file input elements of a serialized
+// WebHistoryItem.
+WEBKIT_GLUE_EXPORT std::vector<FilePath> FilePathsFromInputsInHistoryState(
+ const std::string& content_state);
+
// For testing purposes only.
WEBKIT_GLUE_EXPORT void HistoryItemToVersionedString(
const WebKit::WebHistoryItem& item,

Powered by Google App Engine
This is Rietveld 408576698