aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Chen <pierr.chen@gmail.com>2016-08-22 15:10:42 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-08-22 15:10:42 +0000
commit3f676b3e40288720dd1a9f1f22d43442e9ca8b2a (patch)
treea642e92a4225319fb98eea07e9731fd7944626e5
parent27cdfbfe9b1ec4d8fddcf9a33596bb9c44d686c2 (diff)
parentdf4d25c8e132bc0869dc92c8321f541c6694cd6c (diff)
downloadweaved-3f676b3e40288720dd1a9f1f22d43442e9ca8b2a.tar.gz
weaved: remove redundant comma
am: df4d25c8e1 Change-Id: I43e0f9e6f1678906509227a570f7972fe3fd54ec
-rw-r--r--buffet/buffet_config_unittest.cc12
1 files changed, 7 insertions, 5 deletions
diff --git a/buffet/buffet_config_unittest.cc b/buffet/buffet_config_unittest.cc
index 373a18c..069761e 100644
--- a/buffet/buffet_config_unittest.cc
+++ b/buffet/buffet_config_unittest.cc
@@ -87,19 +87,20 @@ class BuffetConfigTestWithFakes : public testing::Test,
config_.reset(new BuffetConfig{config_options});
config_->SetEncryptor(this);
config_->SetFileIO(this);
- };
+ }
// buffet::Encryptor methods.
bool EncryptWithAuthentication(const std::string& plaintext,
std::string* ciphertext) override {
*ciphertext = brillo::data_encoding::Base64Encode(plaintext);
return encryptor_result_;
- };
+ }
+
bool DecryptWithAuthentication(const std::string& ciphertext,
std::string* plaintext) override {
return encryptor_result_ &&
brillo::data_encoding::Base64Decode(ciphertext, plaintext);
- };
+ }
// buffet::BuffetConfig::FileIO methods.
bool ReadFile(const base::FilePath& path, std::string* content) override {
@@ -108,14 +109,15 @@ class BuffetConfigTestWithFakes : public testing::Test,
}
*content = fake_file_content_[path.value()];
return io_result_;
- };
+ }
+
bool WriteFile(const base::FilePath& path,
const std::string& content) override {
if (io_result_) {
fake_file_content_[path.value()] = content;
}
return io_result_;
- };
+ }
protected:
std::map<std::string, std::string> fake_file_content_;