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

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

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 #include "webkit/glue/glue_serialize.h" 5 #include "webkit/glue/glue_serialize_deprecated.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/pickle.h" 9 #include "base/pickle.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebData.h" 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebData.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebHTTPBody.h" 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebHTTPBody.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebPoint.h" 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebPoint.h"
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h"
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 // serialization of the given URL with a dummy version number of -1. This 659 // serialization of the given URL with a dummy version number of -1. This
660 // will be interpreted by ReadHistoryItem as a request to create a default 660 // will be interpreted by ReadHistoryItem as a request to create a default
661 // WebHistoryItem. 661 // WebHistoryItem.
662 SerializeObject obj; 662 SerializeObject obj;
663 WriteInteger(-1, &obj); 663 WriteInteger(-1, &obj);
664 WriteGURL(url, &obj); 664 WriteGURL(url, &obj);
665 return obj.GetAsString(); 665 return obj.GetAsString();
666 } 666 }
667 667
668 } // namespace webkit_glue 668 } // namespace webkit_glue
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698