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

Unified Diff: components/nacl/browser/nacl_validation_cache.h

Issue 1149113006: Move Pickle to base namespace. (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/bookmarks/browser/bookmark_node_data.h ('k') | components/nacl/loader/nacl_ipc_adapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/browser/nacl_validation_cache.h
diff --git a/components/nacl/browser/nacl_validation_cache.h b/components/nacl/browser/nacl_validation_cache.h
index f9961fdee9268ca9b37ff0663d2f8586dc3cbe77..c7ca137636bd8ac0486589a34874a657d171ee7a 100644
--- a/components/nacl/browser/nacl_validation_cache.h
+++ b/components/nacl/browser/nacl_validation_cache.h
@@ -9,7 +9,9 @@
#include "base/containers/mru_cache.h"
+namespace base {
class Pickle;
+}
namespace nacl {
@@ -31,8 +33,8 @@ class NaClValidationCache {
void SetKnownToValidate(const std::string& signature);
void Reset();
- void Serialize(Pickle* pickle) const;
- bool Deserialize(const Pickle* pickle);
+ void Serialize(base::Pickle* pickle) const;
+ bool Deserialize(const base::Pickle* pickle);
// Testing functions
size_t size() const {
@@ -53,7 +55,7 @@ class NaClValidationCache {
}
private:
- bool DeserializeImpl(const Pickle* pickle);
+ bool DeserializeImpl(const base::Pickle* pickle);
typedef base::HashingMRUCache<std::string, bool> ValidationCacheType;
ValidationCacheType validation_cache_;
« no previous file with comments | « components/bookmarks/browser/bookmark_node_data.h ('k') | components/nacl/loader/nacl_ipc_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698