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

Unified Diff: components/nacl/browser/nacl_validation_cache.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 | « components/nacl/browser/nacl_browser.cc ('k') | components/nacl/browser/nacl_validation_cache_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/browser/nacl_validation_cache.cc
diff --git a/components/nacl/browser/nacl_validation_cache.cc b/components/nacl/browser/nacl_validation_cache.cc
index 574d8187040e38bdaa09d2973e390539f78a4dd2..e956cb1815dd1533c8e34131aea2cf90f0db9962 100644
--- a/components/nacl/browser/nacl_validation_cache.cc
+++ b/components/nacl/browser/nacl_validation_cache.cc
@@ -52,7 +52,7 @@ void NaClValidationCache::SetKnownToValidate(const std::string& signature) {
}
}
-void NaClValidationCache::Serialize(Pickle* pickle) const {
+void NaClValidationCache::Serialize(base::Pickle* pickle) const {
// Mark the beginning of the data stream.
pickle->WriteString(kValidationCacheBeginMagic);
pickle->WriteString(validation_cache_key_);
@@ -76,7 +76,7 @@ void NaClValidationCache::Reset() {
validation_cache_.Clear();
}
-bool NaClValidationCache::Deserialize(const Pickle* pickle) {
+bool NaClValidationCache::Deserialize(const base::Pickle* pickle) {
bool success = DeserializeImpl(pickle);
if (!success) {
Reset();
@@ -84,8 +84,8 @@ bool NaClValidationCache::Deserialize(const Pickle* pickle) {
return success;
}
-bool NaClValidationCache::DeserializeImpl(const Pickle* pickle) {
- PickleIterator iter(*pickle);
+bool NaClValidationCache::DeserializeImpl(const base::Pickle* pickle) {
+ base::PickleIterator iter(*pickle);
std::string buffer;
int count;
« no previous file with comments | « components/nacl/browser/nacl_browser.cc ('k') | components/nacl/browser/nacl_validation_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698