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

Unified Diff: chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc

Issue 12212048: Linux/ChromeOS Chromium style checker cleanup, chrome/browser edition. (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
Index: chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc
===================================================================
--- chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc (revision 181040)
+++ chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc (working copy)
@@ -46,10 +46,10 @@
profile,
sync_service),
mock_(mock) {}
- virtual syncer::ModelType type() const { return syncer::BOOKMARKS; }
+ virtual syncer::ModelType type() const OVERRIDE { return syncer::BOOKMARKS; }
private:
- virtual void CreateSyncComponents() {
+ virtual void CreateSyncComponents() OVERRIDE {
ProfileSyncComponentsFactory::SyncComponents sync_components =
profile_sync_factory_->
CreateBookmarkSyncComponents(sync_service_, this);
@@ -59,21 +59,22 @@
// We mock the following methods because their default implementations do
// nothing, but we still want to make sure they're called appropriately.
- virtual bool StartModels() {
+ virtual bool StartModels() OVERRIDE {
return mock_->StartModels();
}
- virtual void CleanUpState() {
+ virtual void CleanUpState() OVERRIDE {
mock_->CleanUpState();
}
virtual void RecordUnrecoverableError(
const tracked_objects::Location& from_here,
- const std::string& message) {
+ const std::string& message) OVERRIDE {
mock_->RecordUnrecoverableError(from_here, message);
}
- virtual void RecordAssociationTime(base::TimeDelta time) {
+ virtual void RecordAssociationTime(base::TimeDelta time) OVERRIDE {
mock_->RecordAssociationTime(time);
}
- virtual void RecordStartFailure(DataTypeController::StartResult result) {
+ virtual void RecordStartFailure(
+ DataTypeController::StartResult result) OVERRIDE {
mock_->RecordStartFailure(result);
}
private:

Powered by Google App Engine
This is Rietveld 408576698