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

Side by Side Diff: chrome/browser/sync/test/integration/sync_test.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_TEST_INTEGRATION_SYNC_TEST_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_TEST_H_
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_TEST_H_ 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_TEST_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 namespace fake_server { 55 namespace fake_server {
56 class FakeServer; 56 class FakeServer;
57 class FakeServerInvalidationService; 57 class FakeServerInvalidationService;
58 } // namespace fake_server 58 } // namespace fake_server
59 59
60 namespace net { 60 namespace net {
61 class FakeURLFetcherFactory; 61 class FakeURLFetcherFactory;
62 class ScopedDefaultHostResolverProc; 62 class ScopedDefaultHostResolverProc;
63 class URLFetcherImplFactory; 63 class URLFetcherImplFactory;
64 class URLRequestContextGetter;
65 } // namespace net 64 } // namespace net
66 65
67 // This is the base class for integration tests for all sync data types. Derived 66 // This is the base class for integration tests for all sync data types. Derived
68 // classes must be defined for each sync data type. Individual tests are defined 67 // classes must be defined for each sync data type. Individual tests are defined
69 // using the IN_PROC_BROWSER_TEST_F macro. 68 // using the IN_PROC_BROWSER_TEST_F macro.
70 class SyncTest : public InProcessBrowserTest { 69 class SyncTest : public InProcessBrowserTest {
71 public: 70 public:
72 // The different types of live sync tests that can be implemented. 71 // The different types of live sync tests that can be implemented.
73 enum TestType { 72 enum TestType {
74 // Tests where only one client profile is synced with the server. Typically 73 // Tests where only one client profile is synced with the server. Typically
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 std::unique_ptr<net::URLFetcherImplFactory> factory_; 458 std::unique_ptr<net::URLFetcherImplFactory> factory_;
460 459
461 // The contents to be written to a profile's Preferences file before the 460 // The contents to be written to a profile's Preferences file before the
462 // Profile object is created. If empty, no preexisting file will be written. 461 // Profile object is created. If empty, no preexisting file will be written.
463 std::string preexisting_preferences_file_contents_; 462 std::string preexisting_preferences_file_contents_;
464 463
465 DISALLOW_COPY_AND_ASSIGN(SyncTest); 464 DISALLOW_COPY_AND_ASSIGN(SyncTest);
466 }; 465 };
467 466
468 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_TEST_H_ 467 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698