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

Side by Side Diff: webkit/glue/glue_serialize_deprecated.h

Issue 14985014: Introduce content::PageState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comments to the top of page_state.h Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file contains (de)serialization (or if you like python, pickling) 5 // This file contains (de)serialization (or if you like python, pickling)
6 // methods for various objects that we want to persist. 6 // methods for various objects that we want to persist.
7 // In serialization, we write an object's state to a string in some opaque 7 // In serialization, we write an object's state to a string in some opaque
8 // format. Deserialization reconstructs the object's state from such a string. 8 // format. Deserialization reconstructs the object's state from such a string.
9 9
10 #ifndef WEBKIT_GLUE_GLUE_SERIALIZE_H_ 10 #ifndef WEBKIT_GLUE_GLUE_SERIALIZE_H_
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 const std::string& content_state); 48 const std::string& content_state);
49 49
50 // Creates serialized state for the specified URL. This is a variant of 50 // Creates serialized state for the specified URL. This is a variant of
51 // HistoryItemToString (in glue_serialize) that is used during session restore 51 // HistoryItemToString (in glue_serialize) that is used during session restore
52 // if the saved state is empty. 52 // if the saved state is empty.
53 WEBKIT_GLUE_EXPORT std::string CreateHistoryStateForURL(const GURL& url); 53 WEBKIT_GLUE_EXPORT std::string CreateHistoryStateForURL(const GURL& url);
54 54
55 } // namespace webkit_glue 55 } // namespace webkit_glue
56 56
57 #endif // #ifndef WEBKIT_GLUE_GLUE_SERIALIZE_H_ 57 #endif // #ifndef WEBKIT_GLUE_GLUE_SERIALIZE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698