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

Unified Diff: chrome/nacl/nacl_validation_query_unittest.cc

Issue 12226045: Linux/ChromeOS Chromium style checker cleanup, chrome/ edition part 1. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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 | « chrome/nacl/nacl_listener.cc ('k') | chrome/renderer/benchmarking_extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/nacl/nacl_validation_query_unittest.cc
===================================================================
--- chrome/nacl/nacl_validation_query_unittest.cc (revision 181040)
+++ chrome/nacl/nacl_validation_query_unittest.cc (working copy)
@@ -39,7 +39,7 @@
status_(true) {
}
- bool QueryKnownToValidate(const std::string& signature) {
+ virtual bool QueryKnownToValidate(const std::string& signature) OVERRIDE {
// The typecast is needed to work around gtest trying to take the address
// of a constant.
EXPECT_EQ((int) NaClValidationQuery::kDigestLength,
@@ -52,7 +52,7 @@
return status_;
}
- void SetKnownToValidate(const std::string& signature) {
+ virtual void SetKnownToValidate(const std::string& signature) OVERRIDE {
// The typecast is needed to work around gtest trying to take the address
// of a constant.
ASSERT_EQ((int) NaClValidationQuery::kDigestLength,
@@ -93,7 +93,7 @@
scoped_ptr<TestQuery> query1;
scoped_ptr<TestQuery> query2;
- void SetUp() {
+ virtual void SetUp() {
query1.reset(new TestQuery(kKey, kVersion));
query2.reset(new TestQuery(kKey, kVersion));
}
« no previous file with comments | « chrome/nacl/nacl_listener.cc ('k') | chrome/renderer/benchmarking_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698