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

Side by Side Diff: sync/internal_api/sync_rollback_manager_base.cc

Issue 629733002: replace OVERRIDE and FINAL with override and final in sync/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sync/internal_api/sync_rollback_manager_base.h" 5 #include "sync/internal_api/sync_rollback_manager_base.h"
6 6
7 #include "sync/internal_api/public/base/model_type.h" 7 #include "sync/internal_api/public/base/model_type.h"
8 #include "sync/internal_api/public/read_node.h" 8 #include "sync/internal_api/public/read_node.h"
9 #include "sync/internal_api/public/read_transaction.h" 9 #include "sync/internal_api/public/read_transaction.h"
10 #include "sync/internal_api/public/write_transaction.h" 10 #include "sync/internal_api/public/write_transaction.h"
11 #include "sync/syncable/directory_backing_store.h" 11 #include "sync/syncable/directory_backing_store.h"
12 #include "sync/syncable/mutable_entry.h" 12 #include "sync/syncable/mutable_entry.h"
13 13
14 namespace { 14 namespace {
15 15
16 // Permanent bookmark folders as defined in bookmark_model_associator.cc. 16 // Permanent bookmark folders as defined in bookmark_model_associator.cc.
17 // No mobile bookmarks because they only exists with sync enabled. 17 // No mobile bookmarks because they only exists with sync enabled.
18 const char kBookmarkBarTag[] = "bookmark_bar"; 18 const char kBookmarkBarTag[] = "bookmark_bar";
19 const char kOtherBookmarksTag[] = "other_bookmarks"; 19 const char kOtherBookmarksTag[] = "other_bookmarks";
20 20
21 class DummyEntryptionHandler : public syncer::SyncEncryptionHandler { 21 class DummyEntryptionHandler : public syncer::SyncEncryptionHandler {
22 virtual void AddObserver(Observer* observer) OVERRIDE {} 22 virtual void AddObserver(Observer* observer) override {}
23 virtual void RemoveObserver(Observer* observer) OVERRIDE {} 23 virtual void RemoveObserver(Observer* observer) override {}
24 virtual void Init() OVERRIDE {} 24 virtual void Init() override {}
25 virtual void SetEncryptionPassphrase(const std::string& passphrase, 25 virtual void SetEncryptionPassphrase(const std::string& passphrase,
26 bool is_explicit) OVERRIDE {} 26 bool is_explicit) override {}
27 virtual void SetDecryptionPassphrase(const std::string& passphrase) 27 virtual void SetDecryptionPassphrase(const std::string& passphrase)
28 OVERRIDE {} 28 override {}
29 virtual void EnableEncryptEverything() OVERRIDE {} 29 virtual void EnableEncryptEverything() override {}
30 virtual bool EncryptEverythingEnabled() const OVERRIDE { 30 virtual bool EncryptEverythingEnabled() const override {
31 return false; 31 return false;
32 } 32 }
33 virtual syncer::PassphraseType GetPassphraseType() const OVERRIDE { 33 virtual syncer::PassphraseType GetPassphraseType() const override {
34 return syncer::KEYSTORE_PASSPHRASE; 34 return syncer::KEYSTORE_PASSPHRASE;
35 } 35 }
36 }; 36 };
37 37
38 } // anonymous namespace 38 } // anonymous namespace
39 39
40 namespace syncer { 40 namespace syncer {
41 41
42 SyncRollbackManagerBase::SyncRollbackManagerBase() 42 SyncRollbackManagerBase::SyncRollbackManagerBase()
43 : report_unrecoverable_error_function_(NULL), 43 : report_unrecoverable_error_function_(NULL),
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 322
323 void SyncRollbackManagerBase::UnregisterDirectoryTypeDebugInfoObserver( 323 void SyncRollbackManagerBase::UnregisterDirectoryTypeDebugInfoObserver(
324 syncer::TypeDebugInfoObserver* observer) {} 324 syncer::TypeDebugInfoObserver* observer) {}
325 325
326 bool SyncRollbackManagerBase::HasDirectoryTypeDebugInfoObserver( 326 bool SyncRollbackManagerBase::HasDirectoryTypeDebugInfoObserver(
327 syncer::TypeDebugInfoObserver* observer) { return false; } 327 syncer::TypeDebugInfoObserver* observer) { return false; }
328 328
329 void SyncRollbackManagerBase::RequestEmitDebugInfo() {} 329 void SyncRollbackManagerBase::RequestEmitDebugInfo() {}
330 330
331 } // namespace syncer 331 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/sync_rollback_manager_base.h ('k') | sync/internal_api/sync_rollback_manager_base_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698