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

Unified Diff: android_webview/native/state_serializer_unittest.cc

Issue 1154283003: Change most uses of Pickle to base::Pickle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/native/state_serializer.cc ('k') | chrome/browser/android/tab_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/state_serializer_unittest.cc
diff --git a/android_webview/native/state_serializer_unittest.cc b/android_webview/native/state_serializer_unittest.cc
index 27b7e5199b93cb6e7c080bfbe5b3456b0574217e..fd897d4bdb647597b5645f3f2b7bdea7981912da 100644
--- a/android_webview/native/state_serializer_unittest.cc
+++ b/android_webview/native/state_serializer_unittest.cc
@@ -22,11 +22,11 @@ using std::string;
namespace android_webview {
TEST(AndroidWebViewStateSerializerTest, TestHeaderSerialization) {
- Pickle pickle;
+ base::Pickle pickle;
bool result = internal::WriteHeaderToPickle(&pickle);
EXPECT_TRUE(result);
- PickleIterator iterator(pickle);
+ base::PickleIterator iterator(pickle);
result = internal::RestoreHeaderFromPickle(&iterator);
EXPECT_TRUE(result);
}
@@ -68,12 +68,12 @@ TEST(AndroidWebViewStateSerializerTest, TestNavigationEntrySerialization) {
entry->SetTimestamp(timestamp);
entry->SetHttpStatusCode(http_status_code);
- Pickle pickle;
+ base::Pickle pickle;
bool result = internal::WriteNavigationEntryToPickle(*entry, &pickle);
EXPECT_TRUE(result);
scoped_ptr<content::NavigationEntry> copy(content::NavigationEntry::Create());
- PickleIterator iterator(pickle);
+ base::PickleIterator iterator(pickle);
result = internal::RestoreNavigationEntryFromPickle(&iterator, copy.get());
EXPECT_TRUE(result);
« no previous file with comments | « android_webview/native/state_serializer.cc ('k') | chrome/browser/android/tab_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698