Chromium Code Reviews| Index: chrome/test/sync/null_directory_change_delegate.h |
| diff --git a/chrome/test/sync/null_directory_change_delegate.h b/chrome/test/sync/null_directory_change_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..528ed5d6b84d0bd4815185aef2ab0bdef8fbd8e5 |
| --- /dev/null |
| +++ b/chrome/test/sync/null_directory_change_delegate.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_TEST_SYNC_NULL_DIRECTORY_CHANGE_DELEGATE_H_ |
| +#define CHROME_TEST_SYNC_NULL_DIRECTORY_CHANGE_DELEGATE_H_ |
| +#pragma once |
| + |
| +#include "base/compiler_specific.h" |
| +#include "chrome/browser/sync/syncable/directory_change_delegate.h" |
| + |
| +namespace syncable { |
| + |
| +class NullDirectoryChangeDelegate : public DirectoryChangeDelegate { |
|
tim (not reviewing)
2011/06/16 21:10:58
add class comment
akalin
2011/06/16 22:23:12
Done.
|
| + public: |
| + virtual ~NullDirectoryChangeDelegate(); |
| + |
| + virtual void HandleCalculateChangesChangeEventFromSyncApi( |
| + const OriginalEntries& originals, |
| + BaseTransaction* trans) OVERRIDE; |
| + virtual void HandleCalculateChangesChangeEventFromSyncer( |
| + const OriginalEntries& originals, |
| + BaseTransaction* trans) OVERRIDE; |
| + virtual ModelTypeBitSet HandleTransactionEndingChangeEvent( |
| + BaseTransaction* trans) OVERRIDE; |
| + virtual void HandleTransactionCompleteChangeEvent( |
| + const ModelTypeBitSet& models_with_changes) OVERRIDE; |
| +}; |
| + |
| +} // namespace syncable |
| + |
| +#endif // CHROME_TEST_SYNC_NULL_DIRECTORY_CHANGE_DELEGATE_H_ |