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

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

Issue 11638018: [sync] Componentize sync: Part 5: Eliminate filename collisions in sync.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comments Created 8 years 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
« no previous file with comments | « sync/syncable/syncable_base_transaction.cc ('k') | sync/syncable/syncable_read_transaction.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "sync/syncable/directory.h" 10 #include "sync/syncable/directory.h"
11 #include "sync/syncable/write_transaction.h" 11 #include "sync/syncable/syncable_write_transaction.h"
12 #include "sync/test/null_directory_change_delegate.h" 12 #include "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 namespace syncer { 16 namespace syncer {
17 namespace syncable { 17 namespace syncable {
18 18
19 class MockDirectory : public Directory { 19 class MockDirectory : public Directory {
20 public: 20 public:
21 explicit MockDirectory(UnrecoverableErrorHandler* handler); 21 explicit MockDirectory(UnrecoverableErrorHandler* handler);
(...skipping 15 matching lines...) Expand all
37 class MockSyncableWriteTransaction : public syncable::WriteTransaction { 37 class MockSyncableWriteTransaction : public syncable::WriteTransaction {
38 public: 38 public:
39 MockSyncableWriteTransaction( 39 MockSyncableWriteTransaction(
40 const tracked_objects::Location& from_here, Directory *directory); 40 const tracked_objects::Location& from_here, Directory *directory);
41 }; 41 };
42 42
43 } // namespace syncable 43 } // namespace syncable
44 } // namespace syncer 44 } // namespace syncer
45 45
46 #endif // SYNC_SYNCABLE_SYNCABLE_MOCK_H_ 46 #endif // SYNC_SYNCABLE_SYNCABLE_MOCK_H_
OLDNEW
« no previous file with comments | « sync/syncable/syncable_base_transaction.cc ('k') | sync/syncable/syncable_read_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698