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

Unified Diff: chrome/browser/chromeos/drive/job_scheduler_unittest.cc

Issue 817063006: Update {virtual,override,final} to follow C++11 style in chrome/browser/chromeos/drive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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: chrome/browser/chromeos/drive/job_scheduler_unittest.cc
diff --git a/chrome/browser/chromeos/drive/job_scheduler_unittest.cc b/chrome/browser/chromeos/drive/job_scheduler_unittest.cc
index 8e278d7b0b196f058ff5fbd1a808bdd2cc79e926..7f06a68ad5ec8a6103d91dc8fef9bb4f466bf664 100644
--- a/chrome/browser/chromeos/drive/job_scheduler_unittest.cc
+++ b/chrome/browser/chromeos/drive/job_scheduler_unittest.cc
@@ -71,15 +71,15 @@ class JobListLogger : public JobListObserver {
}
// JobListObserver overrides.
- virtual void OnJobAdded(const JobInfo& info) override {
+ void OnJobAdded(const JobInfo& info) override {
events.push_back(EventLog(ADDED, info));
}
- virtual void OnJobUpdated(const JobInfo& info) override {
+ void OnJobUpdated(const JobInfo& info) override {
events.push_back(EventLog(UPDATED, info));
}
- virtual void OnJobDone(const JobInfo& info, FileError error) override {
+ void OnJobDone(const JobInfo& info, FileError error) override {
events.push_back(EventLog(DONE, info));
}
@@ -101,7 +101,7 @@ class CancelTestableFakeDriveService : public FakeDriveService {
upload_new_file_cancelable_ = cancelable;
}
- virtual google_apis::CancelCallback InitiateUploadNewFile(
+ google_apis::CancelCallback InitiateUploadNewFile(
const std::string& content_type,
int64 content_length,
const std::string& parent_resource_id,
@@ -132,7 +132,7 @@ class JobSchedulerTest : public testing::Test {
test_util::RegisterDrivePrefs(pref_service_->registry());
}
- virtual void SetUp() override {
+ void SetUp() override {
fake_network_change_notifier_.reset(
new test_util::FakeNetworkChangeNotifier);
« no previous file with comments | « chrome/browser/chromeos/drive/job_scheduler.h ('k') | chrome/browser/chromeos/drive/local_file_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698