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

Unified Diff: components/nacl/loader/nacl_validation_query_unittest.cc

Issue 572973002: NaCl: Simpler validation for main nexe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes for mseaborn Created 6 years, 2 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
Index: components/nacl/loader/nacl_validation_query_unittest.cc
diff --git a/components/nacl/loader/nacl_validation_query_unittest.cc b/components/nacl/loader/nacl_validation_query_unittest.cc
index 288f1c44022371811515d985ca88becaf9d60be9..eedbd986fbe586a978bfb7941419b14af16b7b48 100644
--- a/components/nacl/loader/nacl_validation_query_unittest.cc
+++ b/components/nacl/loader/nacl_validation_query_unittest.cc
@@ -67,13 +67,6 @@ class MockValidationDB : public NaClValidationDB {
NaClValidationQuery::kDigestLength));
}
- virtual bool ResolveFileToken(struct NaClFileToken* file_token, int32* fd,
- std::string* path) override {
- *fd = -1;
- *path = "";
- return false;
- }
-
bool did_query_;
bool did_set_;
bool status_;

Powered by Google App Engine
This is Rietveld 408576698