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

Side by Side Diff: content/public/renderer/history_item_serialization.cc

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/public/renderer/history_item_serialization.h" 5 #include "content/public/renderer/history_item_serialization.h"
6 6
7 #include "content/common/page_state_serialization.h" 7 #include "content/common/page_state_serialization.h"
8 #include "content/public/common/page_state.h" 8 #include "content/public/common/page_state.h"
9 #include "third_party/WebKit/public/platform/WebHTTPBody.h" 9 #include "third_party/WebKit/public/platform/WebHTTPBody.h"
10 #include "third_party/WebKit/public/platform/WebPoint.h" 10 #include "third_party/WebKit/public/platform/WebPoint.h"
11 #include "third_party/WebKit/public/platform/WebString.h" 11 #include "third_party/WebKit/public/platform/WebString.h"
12 #include "third_party/WebKit/public/platform/WebVector.h" 12 #include "third_party/WebKit/public/platform/WebVector.h"
13 #include "third_party/WebKit/public/web/WebHistoryItem.h" 13 #include "third_party/WebKit/public/web/WebHistoryItem.h"
14 #include "third_party/WebKit/public/web/WebSerializedScriptValue.h" 14 #include "third_party/WebKit/public/web/WebSerializedScriptValue.h"
15 15
16 using WebKit::WebHTTPBody; 16 using blink::WebHTTPBody;
17 using WebKit::WebHistoryItem; 17 using blink::WebHistoryItem;
18 using WebKit::WebSerializedScriptValue; 18 using blink::WebSerializedScriptValue;
19 using WebKit::WebString; 19 using blink::WebString;
20 using WebKit::WebVector; 20 using blink::WebVector;
21 21
22 namespace content { 22 namespace content {
23 namespace { 23 namespace {
24 24
25 void ToNullableString16Vector(const WebVector<WebString>& input, 25 void ToNullableString16Vector(const WebVector<WebString>& input,
26 std::vector<base::NullableString16>* output) { 26 std::vector<base::NullableString16>* output) {
27 output->reserve(input.size()); 27 output->reserve(input.size());
28 for (size_t i = 0; i < input.size(); ++i) 28 for (size_t i = 0; i < input.size(); ++i)
29 output->push_back(input[i]); 29 output->push_back(input[i]);
30 } 30 }
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 WebHistoryItem item; 188 WebHistoryItem item;
189 item.initialize(); 189 item.initialize();
190 if (!RecursivelyGenerateHistoryItem(state.top, &item)) 190 if (!RecursivelyGenerateHistoryItem(state.top, &item))
191 return WebHistoryItem(); 191 return WebHistoryItem();
192 192
193 return item; 193 return item;
194 } 194 }
195 195
196 } // namespace content 196 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/history_item_serialization.h ('k') | content/public/renderer/pepper_plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698