OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef SYNC_SYNCABLE_SYNCABLE_MOCK_H_ | 5 #ifndef SYNC_SYNCABLE_SYNCABLE_MOCK_H_ |
6 #define SYNC_SYNCABLE_SYNCABLE_MOCK_H_ | 6 #define SYNC_SYNCABLE_SYNCABLE_MOCK_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "sync/syncable/directory.h" | 10 #include "sync/syncable/directory.h" |
12 #include "sync/syncable/write_transaction.h" | 11 #include "sync/syncable/write_transaction.h" |
13 #include "sync/test/fake_encryptor.h" | 12 #include "sync/test/fake_encryptor.h" |
14 #include "sync/test/null_directory_change_delegate.h" | 13 #include "sync/test/null_directory_change_delegate.h" |
15 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
17 | 16 |
(...skipping 22 matching lines...) Expand all Loading... |
40 class MockSyncableWriteTransaction : public syncable::WriteTransaction { | 39 class MockSyncableWriteTransaction : public syncable::WriteTransaction { |
41 public: | 40 public: |
42 MockSyncableWriteTransaction( | 41 MockSyncableWriteTransaction( |
43 const tracked_objects::Location& from_here, Directory *directory); | 42 const tracked_objects::Location& from_here, Directory *directory); |
44 }; | 43 }; |
45 | 44 |
46 } // namespace syncable | 45 } // namespace syncable |
47 } // namespace syncer | 46 } // namespace syncer |
48 | 47 |
49 #endif // SYNC_SYNCABLE_SYNCABLE_MOCK_H_ | 48 #endif // SYNC_SYNCABLE_SYNCABLE_MOCK_H_ |
OLD | NEW |