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

Side by Side Diff: chrome/browser/sync/syncable/syncable_mock.h

Issue 7828055: Move sync test code out of chrome/test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/sync/syncable/syncable_id_unittest.cc ('k') | chrome/browser/sync/syncable/syncable_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698