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

Unified Diff: chrome/browser/sync/test/engine/test_directory_setter_upper.h

Issue 8470005: Add OVERRIDE to chrome/browser/sync/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: includes Created 9 years, 1 month 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: chrome/browser/sync/test/engine/test_directory_setter_upper.h
diff --git a/chrome/browser/sync/test/engine/test_directory_setter_upper.h b/chrome/browser/sync/test/engine/test_directory_setter_upper.h
index 32af713a0fc61ba8e0234c466086c866682d71b5..931a86101a46d48d4a0a36b042ecc770fccec64c 100644
--- a/chrome/browser/sync/test/engine/test_directory_setter_upper.h
+++ b/chrome/browser/sync/test/engine/test_directory_setter_upper.h
@@ -34,6 +34,7 @@
#include <string>
#include "base/basictypes.h"
+#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "base/scoped_temp_dir.h"
#include "chrome/browser/sync/syncable/directory_manager.h"
@@ -89,8 +90,8 @@ class TestDirectorySetterUpper {
class ManuallyOpenedTestDirectorySetterUpper : public TestDirectorySetterUpper {
public:
ManuallyOpenedTestDirectorySetterUpper() : was_opened_(false) {}
- virtual void SetUp();
- virtual void TearDown();
+ virtual void SetUp() OVERRIDE;
+ virtual void TearDown() OVERRIDE;
void Open();
private:
bool was_opened_;
@@ -104,8 +105,8 @@ class TriggeredOpenTestDirectorySetterUpper : public TestDirectorySetterUpper {
// as in "real life". In this case, the name that will be used should be
// deterministically known at construction, and is passed in |name|.
explicit TriggeredOpenTestDirectorySetterUpper(const std::string& name);
- virtual void SetUp();
- virtual void TearDown();
+ virtual void SetUp() OVERRIDE;
+ virtual void TearDown() OVERRIDE;
};
// Use this when you don't want to test the whole stack down to the Directory
@@ -131,8 +132,8 @@ class MockDirectorySetterUpper : public TestDirectorySetterUpper {
MockDirectorySetterUpper();
virtual ~MockDirectorySetterUpper();
- virtual void SetUp();
- virtual void TearDown();
+ virtual void SetUp() OVERRIDE;
+ virtual void TearDown() OVERRIDE;
MockDirectory* directory() { return directory_.get(); }
private:
« no previous file with comments | « chrome/browser/sync/signin_manager_unittest.cc ('k') | chrome/browser/sync/test/integration/bookmarks_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698