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

Unified Diff: webkit/glue/glue_serialize_deprecated.h

Issue 16867005: Re-implement PageState serialization without a Blink API dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improvements based on Tom's feedback. Created 7 years, 6 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
« no previous file with comments | « content/test/data/page_state/serialized_v14.dat ('k') | webkit/glue/glue_serialize_deprecated.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/glue_serialize_deprecated.h
diff --git a/webkit/glue/glue_serialize_deprecated.h b/webkit/glue/glue_serialize_deprecated.h
deleted file mode 100644
index 5d9c8cbfbf323f3c0965b6b399a5c3225850d4b9..0000000000000000000000000000000000000000
--- a/webkit/glue/glue_serialize_deprecated.h
+++ /dev/null
@@ -1,57 +0,0 @@
-// 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.
-//
-// This file contains (de)serialization (or if you like python, pickling)
-// methods for various objects that we want to persist.
-// In serialization, we write an object's state to a string in some opaque
-// format. Deserialization reconstructs the object's state from such a string.
-
-#ifndef WEBKIT_GLUE_GLUE_SERIALIZE_H_
-#define WEBKIT_GLUE_GLUE_SERIALIZE_H_
-
-#include <string>
-
-#include "base/files/file_path.h"
-#include "third_party/WebKit/public/web/WebHistoryItem.h"
-#include "webkit/glue/webkit_glue_export.h"
-
-class GURL;
-
-namespace webkit_glue {
-
-// HistoryItem serialization.
-WEBKIT_GLUE_EXPORT std::string HistoryItemToString(
- const WebKit::WebHistoryItem& item);
-WEBKIT_GLUE_EXPORT WebKit::WebHistoryItem HistoryItemFromString(
- const std::string& serialized_item);
-
-// Reads file paths from the HTTP body and the file input elements of a
-// serialized WebHistoryItem.
-WEBKIT_GLUE_EXPORT std::vector<base::FilePath> FilePathsFromHistoryState(
- const std::string& content_state);
-
-// For testing purposes only.
-WEBKIT_GLUE_EXPORT void HistoryItemToVersionedString(
- const WebKit::WebHistoryItem& item,
- int version,
- std::string* serialized_item);
-WEBKIT_GLUE_EXPORT int HistoryItemCurrentVersion();
-
-// Removes form data containing passwords from the history state string
-// |content_state|.
-WEBKIT_GLUE_EXPORT std::string RemovePasswordDataFromHistoryState(
- const std::string& content_state);
-
-// Removes scroll offset from the history state string |content_state|.
-WEBKIT_GLUE_EXPORT std::string RemoveScrollOffsetFromHistoryState(
- const std::string& content_state);
-
-// Creates serialized state for the specified URL. This is a variant of
-// HistoryItemToString (in glue_serialize) that is used during session restore
-// if the saved state is empty.
-WEBKIT_GLUE_EXPORT std::string CreateHistoryStateForURL(const GURL& url);
-
-} // namespace webkit_glue
-
-#endif // #ifndef WEBKIT_GLUE_GLUE_SERIALIZE_H_
« no previous file with comments | « content/test/data/page_state/serialized_v14.dat ('k') | webkit/glue/glue_serialize_deprecated.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698