| Index: android_webview/native/state_serializer.cc
|
| diff --git a/android_webview/native/state_serializer.cc b/android_webview/native/state_serializer.cc
|
| index b9698835ddd13ef8cbf4feac327f0c44a5782cde..50dfd34aea8fca081b93b0e42da078ad023acb3a 100644
|
| --- a/android_webview/native/state_serializer.cc
|
| +++ b/android_webview/native/state_serializer.cc
|
| @@ -40,7 +40,7 @@ const uint32 AW_STATE_VERSION = 20130814;
|
| } // namespace
|
|
|
| bool WriteToPickle(const content::WebContents& web_contents,
|
| - Pickle* pickle) {
|
| + base::Pickle* pickle) {
|
| DCHECK(pickle);
|
|
|
| if (!internal::WriteHeaderToPickle(pickle))
|
| @@ -71,7 +71,7 @@ bool WriteToPickle(const content::WebContents& web_contents,
|
| return true;
|
| }
|
|
|
| -bool RestoreFromPickle(PickleIterator* iterator,
|
| +bool RestoreFromPickle(base::PickleIterator* iterator,
|
| content::WebContents* web_contents) {
|
| DCHECK(iterator);
|
| DCHECK(web_contents);
|
| @@ -136,11 +136,11 @@ bool RestoreFromPickle(PickleIterator* iterator,
|
|
|
| namespace internal {
|
|
|
| -bool WriteHeaderToPickle(Pickle* pickle) {
|
| +bool WriteHeaderToPickle(base::Pickle* pickle) {
|
| return pickle->WriteUInt32(AW_STATE_VERSION);
|
| }
|
|
|
| -bool RestoreHeaderFromPickle(PickleIterator* iterator) {
|
| +bool RestoreHeaderFromPickle(base::PickleIterator* iterator) {
|
| uint32 state_version = -1;
|
| if (!iterator->ReadUInt32(&state_version))
|
| return false;
|
| @@ -152,7 +152,7 @@ bool RestoreHeaderFromPickle(PickleIterator* iterator) {
|
| }
|
|
|
| bool WriteNavigationEntryToPickle(const content::NavigationEntry& entry,
|
| - Pickle* pickle) {
|
| + base::Pickle* pickle) {
|
| if (!pickle->WriteString(entry.GetURL().spec()))
|
| return false;
|
|
|
| @@ -194,7 +194,7 @@ bool WriteNavigationEntryToPickle(const content::NavigationEntry& entry,
|
| return true;
|
| }
|
|
|
| -bool RestoreNavigationEntryFromPickle(PickleIterator* iterator,
|
| +bool RestoreNavigationEntryFromPickle(base::PickleIterator* iterator,
|
| content::NavigationEntry* entry) {
|
| {
|
| string url;
|
|
|