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

Side by Side Diff: sync/internal_api/public/test/fake_sync_manager.h

Issue 12847003: Separate invalidator and sync client ID (part 2/2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix sync_listen_notifications utility Created 7 years, 9 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/internal_api/public/sync_manager.h ('k') | sync/internal_api/sync_manager_impl.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_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ 5 #ifndef SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_
6 #define SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 const WeakHandle<JsEventHandler>& event_handler, 74 const WeakHandle<JsEventHandler>& event_handler,
75 const std::string& sync_server_and_path, 75 const std::string& sync_server_and_path,
76 int sync_server_port, 76 int sync_server_port,
77 bool use_ssl, 77 bool use_ssl,
78 scoped_ptr<HttpPostProviderFactory> post_factory, 78 scoped_ptr<HttpPostProviderFactory> post_factory,
79 const std::vector<ModelSafeWorker*>& workers, 79 const std::vector<ModelSafeWorker*>& workers,
80 ExtensionsActivityMonitor* extensions_activity_monitor, 80 ExtensionsActivityMonitor* extensions_activity_monitor,
81 ChangeDelegate* change_delegate, 81 ChangeDelegate* change_delegate,
82 const SyncCredentials& credentials, 82 const SyncCredentials& credentials,
83 scoped_ptr<Invalidator> invalidator, 83 scoped_ptr<Invalidator> invalidator,
84 const std::string& invalidator_client_id,
84 const std::string& restored_key_for_bootstrapping, 85 const std::string& restored_key_for_bootstrapping,
85 const std::string& restored_keystore_key_for_bootstrapping, 86 const std::string& restored_keystore_key_for_bootstrapping,
86 scoped_ptr<InternalComponentsFactory> internal_components_factory, 87 scoped_ptr<InternalComponentsFactory> internal_components_factory,
87 Encryptor* encryptor, 88 Encryptor* encryptor,
88 UnrecoverableErrorHandler* unrecoverable_error_handler, 89 UnrecoverableErrorHandler* unrecoverable_error_handler,
89 ReportUnrecoverableErrorFunction 90 ReportUnrecoverableErrorFunction
90 report_unrecoverable_error_function) OVERRIDE; 91 report_unrecoverable_error_function) OVERRIDE;
91 virtual void ThrowUnrecoverableError() OVERRIDE; 92 virtual void ThrowUnrecoverableError() OVERRIDE;
92 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE; 93 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE;
93 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken( 94 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken(
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 scoped_ptr<FakeSyncEncryptionHandler> fake_encryption_handler_; 161 scoped_ptr<FakeSyncEncryptionHandler> fake_encryption_handler_;
161 162
162 TestUserShare test_user_share_; 163 TestUserShare test_user_share_;
163 164
164 DISALLOW_COPY_AND_ASSIGN(FakeSyncManager); 165 DISALLOW_COPY_AND_ASSIGN(FakeSyncManager);
165 }; 166 };
166 167
167 } // namespace syncer 168 } // namespace syncer
168 169
169 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ 170 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/sync_manager.h ('k') | sync/internal_api/sync_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698