Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / components / nacl / browser / pnacl_host_unittest.cc
index 8326932..3f2d3ef 100644 (file)
@@ -37,14 +37,14 @@ class PnaclHostTest : public testing::Test {
         temp_callback_count_(0),
         write_callback_count_(0),
         thread_bundle_(content::TestBrowserThreadBundle::IO_MAINLOOP) {}
-  virtual void SetUp() {
+  void SetUp() override {
     host_ = new PnaclHost();
     ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
     host_->InitForTest(temp_dir_.path(), true);
     base::RunLoop().RunUntilIdle();
     EXPECT_EQ(PnaclHost::CacheReady, host_->cache_state_);
   }
-  virtual void TearDown() {
+  void TearDown() override {
     EXPECT_EQ(0U, host_->pending_translations());
     // Give the host a chance to de-init the backend, and then delete it.
     host_->RendererClosing(0);
@@ -436,7 +436,7 @@ TEST_F(PnaclHostTest, ClearTranslationCache) {
 // A version of PnaclHostTest that initializes cache on disk.
 class PnaclHostTestDisk : public PnaclHostTest {
  protected:
-  virtual void SetUp() {
+  void SetUp() override {
     host_ = new PnaclHost();
     ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
     host_->InitForTest(temp_dir_.path(), false);