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

Side by Side Diff: components/sync/test/fake_server/fake_server_verifier.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_TEST_FAKE_SERVER_FAKE_SERVER_VERIFIER_H_ 5 #ifndef COMPONENTS_SYNC_TEST_FAKE_SERVER_FAKE_SERVER_VERIFIER_H_
6 #define SYNC_TEST_FAKE_SERVER_FAKE_SERVER_VERIFIER_H_ 6 #define COMPONENTS_SYNC_TEST_FAKE_SERVER_FAKE_SERVER_VERIFIER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "sync/internal_api/public/base/model_type.h" 14 #include "components/sync/base/model_type.h"
15 #include "sync/test/fake_server/sessions_hierarchy.h" 15 #include "components/sync/test/fake_server/sessions_hierarchy.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 17
18 namespace fake_server { 18 namespace fake_server {
19 19
20 class FakeServer; 20 class FakeServer;
21 21
22 // Provides methods to verify the state of a FakeServer. The main use case of 22 // Provides methods to verify the state of a FakeServer. The main use case of
23 // this class is verifying committed data so that it does not have to be synced 23 // this class is verifying committed data so that it does not have to be synced
24 // down to another test client for verification. These methods are not present 24 // down to another test client for verification. These methods are not present
25 // on FakeServer so that its interface is not polluted. 25 // on FakeServer so that its interface is not polluted.
(...skipping 25 matching lines...) Expand all
51 const SessionsHierarchy& expected_sessions); 51 const SessionsHierarchy& expected_sessions);
52 52
53 private: 53 private:
54 FakeServer* const fake_server_; 54 FakeServer* const fake_server_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(FakeServerVerifier); 56 DISALLOW_COPY_AND_ASSIGN(FakeServerVerifier);
57 }; 57 };
58 58
59 } // namespace fake_server 59 } // namespace fake_server
60 60
61 #endif // SYNC_TEST_FAKE_SERVER_FAKE_SERVER_VERIFIER_H_ 61 #endif // COMPONENTS_SYNC_TEST_FAKE_SERVER_FAKE_SERVER_VERIFIER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698