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

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

Issue 12092091: Separate sync and invalidation client IDs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
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_TEST_INTERNAL_COMPONENTS_FACTORY_H_ 5 #ifndef SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_
6 #define SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_
7 7
8 #include "sync/internal_api/public/internal_components_factory.h" 8 #include "sync/internal_api/public/internal_components_factory.h"
9 9
10 namespace syncer { 10 namespace syncer {
(...skipping 19 matching lines...) Expand all
30 sessions::SyncSessionContext* context) OVERRIDE; 30 sessions::SyncSessionContext* context) OVERRIDE;
31 31
32 virtual scoped_ptr<sessions::SyncSessionContext> BuildContext( 32 virtual scoped_ptr<sessions::SyncSessionContext> BuildContext(
33 ServerConnectionManager* connection_manager, 33 ServerConnectionManager* connection_manager,
34 syncable::Directory* directory, 34 syncable::Directory* directory,
35 const std::vector<ModelSafeWorker*> workers, 35 const std::vector<ModelSafeWorker*> workers,
36 ExtensionsActivityMonitor* monitor, 36 ExtensionsActivityMonitor* monitor,
37 ThrottledDataTypeTracker* throttled_data_type_tracker, 37 ThrottledDataTypeTracker* throttled_data_type_tracker,
38 const std::vector<SyncEngineEventListener*>& listeners, 38 const std::vector<SyncEngineEventListener*>& listeners,
39 sessions::DebugInfoGetter* debug_info_getter, 39 sessions::DebugInfoGetter* debug_info_getter,
40 TrafficRecorder* traffic_recorder) OVERRIDE; 40 TrafficRecorder* traffic_recorder,
41 const std::string& invalidator_client_id) OVERRIDE;
41 42
42 virtual scoped_ptr<syncable::DirectoryBackingStore> 43 virtual scoped_ptr<syncable::DirectoryBackingStore>
43 BuildDirectoryBackingStore( 44 BuildDirectoryBackingStore(
44 const std::string& dir_name, 45 const std::string& dir_name,
45 const FilePath& backing_filepath) OVERRIDE; 46 const FilePath& backing_filepath) OVERRIDE;
46 47
47 virtual Switches GetSwitches() const OVERRIDE; 48 virtual Switches GetSwitches() const OVERRIDE;
48 49
49 private: 50 private:
50 const Switches switches_; 51 const Switches switches_;
51 const StorageOption storage_option_; 52 const StorageOption storage_option_;
52 53
53 DISALLOW_COPY_AND_ASSIGN(TestInternalComponentsFactory); 54 DISALLOW_COPY_AND_ASSIGN(TestInternalComponentsFactory);
54 }; 55 };
55 56
56 } // namespace syncer 57 } // namespace syncer
57 58
58 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ 59 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/test/fake_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