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

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

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 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
« no previous file with comments | « webkit/glue/glue_serialize.cc ('k') | webkit/glue/glue_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <string> 5 #include <string>
6 6
7 #include "base/pickle.h" 7 #include "base/pickle.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "webkit/api/public/WebHTTPBody.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebHTTPBody.h"
11 #include "webkit/api/public/WebPoint.h" 11 #include "third_party/WebKit/WebKit/chromium/public/WebPoint.h"
12 #include "webkit/api/public/WebVector.h" 12 #include "third_party/WebKit/WebKit/chromium/public/WebVector.h"
13 #include "webkit/glue/glue_serialize.h" 13 #include "webkit/glue/glue_serialize.h"
14 14
15 using WebKit::WebData; 15 using WebKit::WebData;
16 using WebKit::WebHistoryItem; 16 using WebKit::WebHistoryItem;
17 using WebKit::WebHTTPBody; 17 using WebKit::WebHTTPBody;
18 using WebKit::WebPoint; 18 using WebKit::WebPoint;
19 using WebKit::WebString; 19 using WebKit::WebString;
20 using WebKit::WebUChar; 20 using WebKit::WebUChar;
21 using WebKit::WebVector; 21 using WebKit::WebVector;
22 22
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 p.WriteInt(0); 190 p.WriteInt(0);
191 // WebForm 191 // WebForm
192 p.WriteInt(1); 192 p.WriteInt(1);
193 p.WriteInt(WebHTTPBody::Element::TypeData); 193 p.WriteInt(WebHTTPBody::Element::TypeData);
194 std::string s(static_cast<const char*>(p.data()), p.size()); 194 std::string s(static_cast<const char*>(p.data()), p.size());
195 webkit_glue::HistoryItemFromString(s); 195 webkit_glue::HistoryItemFromString(s);
196 } 196 }
197 } 197 }
198 198
199 } // namespace 199 } // namespace
OLDNEW
« no previous file with comments | « webkit/glue/glue_serialize.cc ('k') | webkit/glue/glue_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698