OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_TEST_SYNC_NULL_DIRECTORY_CHANGE_DELEGATE_H_ |
| 6 #define CHROME_TEST_SYNC_NULL_DIRECTORY_CHANGE_DELEGATE_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "base/compiler_specific.h" |
| 10 #include "chrome/browser/sync/syncable/directory_change_delegate.h" |
| 11 |
| 12 namespace syncable { |
| 13 |
| 14 class NullDirectoryChangeDelegate : public DirectoryChangeDelegate { |
| 15 public: |
| 16 virtual ~NullDirectoryChangeDelegate(); |
| 17 |
| 18 virtual void HandleCalculateChangesChangeEventFromSyncApi( |
| 19 const OriginalEntries& originals, |
| 20 BaseTransaction* trans) OVERRIDE; |
| 21 virtual void HandleCalculateChangesChangeEventFromSyncer( |
| 22 const OriginalEntries& originals, |
| 23 BaseTransaction* trans) OVERRIDE; |
| 24 virtual ModelTypeBitSet HandleTransactionEndingChangeEvent( |
| 25 BaseTransaction* trans) OVERRIDE; |
| 26 virtual void HandleTransactionCompleteChangeEvent( |
| 27 const ModelTypeBitSet& models_with_changes) OVERRIDE; |
| 28 }; |
| 29 |
| 30 } // namespace syncable |
| 31 |
| 32 #endif // CHROME_TEST_SYNC_NULL_DIRECTORY_CHANGE_DELEGATE_H_ |
OLD | NEW |