| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 CHROME_BROWSER_SYNC_SYNCABLE_SYNCABLE_MOCK_H_ | 5 #ifndef CHROME_BROWSER_SYNC_SYNCABLE_SYNCABLE_MOCK_H_ |
| 6 #define CHROME_BROWSER_SYNC_SYNCABLE_SYNCABLE_MOCK_H_ | 6 #define CHROME_BROWSER_SYNC_SYNCABLE_SYNCABLE_MOCK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "chrome/browser/sync/syncable/syncable.h" | 11 #include "chrome/browser/sync/syncable/syncable.h" |
| 12 #include "chrome/test/sync/null_directory_change_delegate.h" | 12 #include "chrome/browser/sync/test/null_directory_change_delegate.h" |
| 13 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 15 |
| 16 using syncable::Directory; | 16 using syncable::Directory; |
| 17 using syncable::EntryKernel; | 17 using syncable::EntryKernel; |
| 18 | 18 |
| 19 class MockDirectory : public Directory { | 19 class MockDirectory : public Directory { |
| 20 public: | 20 public: |
| 21 MockDirectory(); | 21 MockDirectory(); |
| 22 virtual ~MockDirectory(); | 22 virtual ~MockDirectory(); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 class MockSyncableWriteTransaction : public syncable::WriteTransaction { | 35 class MockSyncableWriteTransaction : public syncable::WriteTransaction { |
| 36 public: | 36 public: |
| 37 MockSyncableWriteTransaction( | 37 MockSyncableWriteTransaction( |
| 38 const tracked_objects::Location& from_here, Directory *directory); | 38 const tracked_objects::Location& from_here, Directory *directory); |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 | 41 |
| 42 #endif // CHROME_BROWSER_SYNC_SYNCABLE_SYNCABLE_MOCK_H_ | 42 #endif // CHROME_BROWSER_SYNC_SYNCABLE_SYNCABLE_MOCK_H_ |
| 43 | 43 |
| OLD | NEW |