summaryrefslogtreecommitdiffstats
path: root/webkit/glue/glue_serialize.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/glue_serialize.h')
-rw-r--r--webkit/glue/glue_serialize.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/webkit/glue/glue_serialize.h b/webkit/glue/glue_serialize.h
index 6e4c575..8d8ad2e 100644
--- a/webkit/glue/glue_serialize.h
+++ b/webkit/glue/glue_serialize.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -11,6 +11,8 @@
#define WEBKIT_GLUE_GLUE_SERIALIZE_H_
#include <string>
+
+#include "base/file_path.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h"
#include "webkit/glue/webkit_glue_export.h"
@@ -22,6 +24,10 @@ WEBKIT_GLUE_EXPORT std::string HistoryItemToString(
WEBKIT_GLUE_EXPORT WebKit::WebHistoryItem HistoryItemFromString(
const std::string& serialized_item);
+// Reads file paths from the HTTP body of a serialized WebHistoryItem.
+WEBKIT_GLUE_EXPORT std::vector<FilePath> FilePathsFromHistoryState(
+ const std::string& content_state);
+
// For testing purposes only.
WEBKIT_GLUE_EXPORT void HistoryItemToVersionedString(
const WebKit::WebHistoryItem& item,