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

Side by Side Diff: content/renderer/history_serialization.cc

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/renderer/history_serialization.h" 5 #include "content/renderer/history_serialization.h"
6 6
7 #include <stddef.h>
8
7 #include "content/common/page_state_serialization.h" 9 #include "content/common/page_state_serialization.h"
8 #include "content/public/common/page_state.h" 10 #include "content/public/common/page_state.h"
9 #include "content/renderer/history_entry.h" 11 #include "content/renderer/history_entry.h"
10 #include "third_party/WebKit/public/platform/WebFloatPoint.h" 12 #include "third_party/WebKit/public/platform/WebFloatPoint.h"
11 #include "third_party/WebKit/public/platform/WebHTTPBody.h" 13 #include "third_party/WebKit/public/platform/WebHTTPBody.h"
12 #include "third_party/WebKit/public/platform/WebPoint.h" 14 #include "third_party/WebKit/public/platform/WebPoint.h"
13 #include "third_party/WebKit/public/platform/WebString.h" 15 #include "third_party/WebKit/public/platform/WebString.h"
14 #include "third_party/WebKit/public/platform/WebVector.h" 16 #include "third_party/WebKit/public/platform/WebVector.h"
15 #include "third_party/WebKit/public/web/WebHistoryItem.h" 17 #include "third_party/WebKit/public/web/WebHistoryItem.h"
16 #include "third_party/WebKit/public/web/WebSerializedScriptValue.h" 18 #include "third_party/WebKit/public/web/WebSerializedScriptValue.h"
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 if (!DecodePageState(page_state.ToEncodedData(), &state)) 203 if (!DecodePageState(page_state.ToEncodedData(), &state))
202 return scoped_ptr<HistoryEntry>(); 204 return scoped_ptr<HistoryEntry>();
203 205
204 scoped_ptr<HistoryEntry> entry(new HistoryEntry()); 206 scoped_ptr<HistoryEntry> entry(new HistoryEntry());
205 RecursivelyGenerateHistoryItem(state.top, entry->root_history_node()); 207 RecursivelyGenerateHistoryItem(state.top, entry->root_history_node());
206 208
207 return entry.Pass(); 209 return entry.Pass();
208 } 210 }
209 211
210 } // namespace content 212 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/history_controller_browsertest.cc ('k') | content/renderer/idle_user_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698