Merge "Consolidate proto parsing into DeviceFiles::RetrieveHashedFile"

This commit is contained in:
Rahul Frias
2016-01-19 22:58:06 +00:00
committed by Android (Google) Code Review
3 changed files with 36 additions and 66 deletions

View File

@@ -8,6 +8,7 @@
#include <set>
#include <string>
#include "device_files.pb.h"
#include "scoped_ptr.h"
#include "wv_cdm_types.h"
@@ -107,7 +108,7 @@ class DeviceFiles {
bool StoreFileRaw(const std::string& name,
const std::string& serialized_file);
bool RetrieveHashedFile(const std::string& name,
std::string* serialized_file);
video_widevine_client::sdk::File* file);
bool FileExists(const std::string& name);
bool RemoveFile(const std::string& name);
ssize_t GetFileSize(const std::string& name);