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/internal_api/public/internal_components_factory_impl.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 // An InternalComponentsFactory implementation designed for real production / 5 // An InternalComponentsFactory implementation designed for real production /
6 // normal use. 6 // normal use.
7 7
8 #ifndef SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_IMPL_H_ 8 #ifndef SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_IMPL_H_
9 #define SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_IMPL_H_ 9 #define SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_IMPL_H_
10 10
(...skipping 13 matching lines...) Expand all
24 sessions::SyncSessionContext* context) OVERRIDE; 24 sessions::SyncSessionContext* context) OVERRIDE;
25 25
26 virtual scoped_ptr<sessions::SyncSessionContext> BuildContext( 26 virtual scoped_ptr<sessions::SyncSessionContext> BuildContext(
27 ServerConnectionManager* connection_manager, 27 ServerConnectionManager* connection_manager,
28 syncable::Directory* directory, 28 syncable::Directory* directory,
29 const std::vector<ModelSafeWorker*> workers, 29 const std::vector<ModelSafeWorker*> workers,
30 ExtensionsActivityMonitor* monitor, 30 ExtensionsActivityMonitor* monitor,
31 ThrottledDataTypeTracker* throttled_data_type_tracker, 31 ThrottledDataTypeTracker* throttled_data_type_tracker,
32 const std::vector<SyncEngineEventListener*>& listeners, 32 const std::vector<SyncEngineEventListener*>& listeners,
33 sessions::DebugInfoGetter* debug_info_getter, 33 sessions::DebugInfoGetter* debug_info_getter,
34 TrafficRecorder* traffic_recorder) OVERRIDE; 34 TrafficRecorder* traffic_recorder,
35 const std::string& invalidator_client_id) OVERRIDE;
35 36
36 virtual scoped_ptr<syncable::DirectoryBackingStore> 37 virtual scoped_ptr<syncable::DirectoryBackingStore>
37 BuildDirectoryBackingStore( 38 BuildDirectoryBackingStore(
38 const std::string& dir_name, 39 const std::string& dir_name,
39 const FilePath& backing_filepath) OVERRIDE; 40 const FilePath& backing_filepath) OVERRIDE;
40 41
41 virtual Switches GetSwitches() const OVERRIDE; 42 virtual Switches GetSwitches() const OVERRIDE;
42 43
43 private: 44 private:
44 const Switches switches_; 45 const Switches switches_;
45 DISALLOW_COPY_AND_ASSIGN(InternalComponentsFactoryImpl); 46 DISALLOW_COPY_AND_ASSIGN(InternalComponentsFactoryImpl);
46 }; 47 };
47 48
48 } // namespace syncer 49 } // namespace syncer
49 50
50 #endif // SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_IMPL_H_ 51 #endif // SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/internal_components_factory.h ('k') | sync/internal_api/public/sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698