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

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

Issue 10700154: Remove #pragma once from sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « sync/syncable/syncable_id.h ('k') | sync/syncable/transaction_observer.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 (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
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_
OLDNEW
« no previous file with comments | « sync/syncable/syncable_id.h ('k') | sync/syncable/transaction_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698